The previous CONFIG_LARGE_ALLOCS flag was replaced by the new
CONFIG_FORCE_MAX_ZONEORDER flag to override the default in mmzone.h,
which is 4MB.
Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>
---
linux-2.6.x/arch/nios2nommu/Kconfig | 10 +++-------
linux-2.6.x/arch/nios2nommu/defconfig | 2 +-
vendors/Altera/nios2nommu/config.linux-2.6.x | 2 +-
3 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/linux-2.6.x/arch/nios2nommu/Kconfig
b/linux-2.6.x/arch/nios2nommu/Kconfig
index 259a338..fdb1ed6 100644
--- a/linux-2.6.x/arch/nios2nommu/Kconfig
+++ b/linux-2.6.x/arch/nios2nommu/Kconfig
@@ -208,13 +208,9 @@ config BREAK_ON_START
before the kernel starts initialization. This allows you to
debug the kernel startup.
-config LARGE_ALLOCS
- bool "Allow allocating large blocks (> 1MB) of memory"
- help
- Allow the slab memory allocator to keep chains for very large
- memory sizes - upto 32MB. You may need this if your system has
- a lot of RAM, and you need to able to allocate very large
- contiguous chunks. If unsure, say N.
+config FORCE_MAX_ZONEORDER
+ int
+ default "14"
choice
prompt "Kernel executes from"
diff --git a/linux-2.6.x/arch/nios2nommu/defconfig
b/linux-2.6.x/arch/nios2nommu/defconfig
index 59cd62b..dcda987 100644
--- a/linux-2.6.x/arch/nios2nommu/defconfig
+++ b/linux-2.6.x/arch/nios2nommu/defconfig
@@ -118,7 +118,7 @@ CONFIG_NIOS2_HW_MUL=y
#
CONFIG_EXCALIBUR=y
# CONFIG_BREAK_ON_START is not set
-CONFIG_LARGE_ALLOCS=y
+CONFIG_FORCE_MAX_ZONEORDER=14
CONFIG_RAMKERNEL=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
diff --git a/vendors/Altera/nios2nommu/config.linux-2.6.x
b/vendors/Altera/nios2nommu/config.linux-2.6.x
index 59cd62b..dcda987 100644
--- a/vendors/Altera/nios2nommu/config.linux-2.6.x
+++ b/vendors/Altera/nios2nommu/config.linux-2.6.x
@@ -118,7 +118,7 @@ CONFIG_NIOS2_HW_MUL=y
#
CONFIG_EXCALIBUR=y
# CONFIG_BREAK_ON_START is not set
-CONFIG_LARGE_ALLOCS=y
+CONFIG_FORCE_MAX_ZONEORDER=14
CONFIG_RAMKERNEL=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
--
1.5.3.3
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev