diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-10-01 16:38:23 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-10-01 16:42:08 -0400 |
commit | 4ba3f7c55938d7e51e23c1feedd035dd46716ae7 (patch) | |
tree | 088878e8ee5b019542b0295f3717885526d4a2b8 /arch/arm/Kconfig | |
parent | 07a2f737ba1d73ace591dd03c512bb0dd63f6785 (diff) |
[ARM] mm: allow LH7A40x to use sparsemem
Enable Sparsemem support for LH7A40x SoCs, while still allowing the
existing discontig support for the time being.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ef218ea3010f..f5bf38b5f38d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -510,6 +510,8 @@ config ARCH_SHARK | |||
510 | 510 | ||
511 | config ARCH_LH7A40X | 511 | config ARCH_LH7A40X |
512 | bool "Sharp LH7A40X" | 512 | bool "Sharp LH7A40X" |
513 | select ARCH_DISCONTIGMEM_ENABLE if !LH7A40X_CONTIGMEM | ||
514 | select ARCH_SPARSEMEM_ENABLE if !LH7A40X_CONTIGMEM | ||
513 | help | 515 | help |
514 | Say Y here for systems based on one of the Sharp LH7A40X | 516 | Say Y here for systems based on one of the Sharp LH7A40X |
515 | System on a Chip processors. These CPUs include an ARM922T | 517 | System on a Chip processors. These CPUs include an ARM922T |
@@ -842,12 +844,6 @@ config OABI_COMPAT | |||
842 | # Discontigmem is deprecated | 844 | # Discontigmem is deprecated |
843 | config ARCH_DISCONTIGMEM_ENABLE | 845 | config ARCH_DISCONTIGMEM_ENABLE |
844 | bool | 846 | bool |
845 | default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM) | ||
846 | help | ||
847 | Say Y to support efficient handling of discontiguous physical memory, | ||
848 | for architectures which are either NUMA (Non-Uniform Memory Access) | ||
849 | or have huge holes in the physical address space for other reasons. | ||
850 | See <file:Documentation/vm/numa> for more. | ||
851 | 847 | ||
852 | config ARCH_SPARSEMEM_ENABLE | 848 | config ARCH_SPARSEMEM_ENABLE |
853 | bool | 849 | bool |