diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-11-30 15:43:51 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-19 06:36:48 -0400 |
commit | 05944d74bc28fffbcce159cb915d0acff82f30a1 (patch) | |
tree | 6151f1a21d7171542ca84906207030d26f9b792d /arch | |
parent | 05dda977f2574c3341abef9b74c27d2b362e1e3a (diff) |
[ARM] Add initial sparsemem support
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 8 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/Kconfig | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4039a133006e..df051bd24ba1 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -422,6 +422,8 @@ config ARCH_SA1100 | |||
422 | bool "SA1100-based" | 422 | bool "SA1100-based" |
423 | select ISA | 423 | select ISA |
424 | select ARCH_DISCONTIGMEM_ENABLE | 424 | select ARCH_DISCONTIGMEM_ENABLE |
425 | select ARCH_SPARSEMEM_ENABLE | ||
426 | select ARCH_SELECT_MEMORY_MODEL | ||
425 | select ARCH_MTD_XIP | 427 | select ARCH_MTD_XIP |
426 | select GENERIC_GPIO | 428 | select GENERIC_GPIO |
427 | select GENERIC_TIME | 429 | select GENERIC_TIME |
@@ -774,6 +776,12 @@ config ARCH_DISCONTIGMEM_ENABLE | |||
774 | or have huge holes in the physical address space for other reasons. | 776 | or have huge holes in the physical address space for other reasons. |
775 | See <file:Documentation/vm/numa> for more. | 777 | See <file:Documentation/vm/numa> for more. |
776 | 778 | ||
779 | config ARCH_SPARSEMEM_ENABLE | ||
780 | bool | ||
781 | |||
782 | config ARCH_SELECT_MEMORY_MODEL | ||
783 | bool | ||
784 | |||
777 | config NODES_SHIFT | 785 | config NODES_SHIFT |
778 | int | 786 | int |
779 | default "4" if ARCH_LH7A40X | 787 | default "4" if ARCH_LH7A40X |
diff --git a/arch/arm/mach-clps711x/Kconfig b/arch/arm/mach-clps711x/Kconfig index 0e2b641268ad..dbaae5f746a1 100644 --- a/arch/arm/mach-clps711x/Kconfig +++ b/arch/arm/mach-clps711x/Kconfig | |||
@@ -31,6 +31,8 @@ config ARCH_EDB7211 | |||
31 | bool "EDB7211" | 31 | bool "EDB7211" |
32 | select ISA | 32 | select ISA |
33 | select ARCH_DISCONTIGMEM_ENABLE | 33 | select ARCH_DISCONTIGMEM_ENABLE |
34 | select ARCH_SPARSEMEM_ENABLE | ||
35 | select ARCH_SELECT_MEMORY_MODEL | ||
34 | help | 36 | help |
35 | Say Y here if you intend to run this kernel on a Cirrus Logic EDB-7211 | 37 | Say Y here if you intend to run this kernel on a Cirrus Logic EDB-7211 |
36 | evaluation board. | 38 | evaluation board. |