diff options
author | Jeff Chua <jeff.chua.linux@gmail.com> | 2008-08-06 07:09:53 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-11 16:01:57 -0400 |
commit | 99809963c99e1ed868d9ebeb4a5e7ee1cbe0309f (patch) | |
tree | 7b866cc34381326276bec92544d4a5e88d04795f /arch/x86/Kconfig | |
parent | f2556896597c43cb48f04b1c16214938a6ccce9a (diff) |
x86: make sparsemem more available
With CONFIG_X86_PC, I can set CONFIG_SPARSEMEM=y.
With CONFIG_X86_GENERICARCH, CONFIG_SPARSEMEM depends on CONFIG_NUMA.
I'm using the patch below to enable sparsemem instead of flatmem.
System booted and is running.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 7917962ab7ff..e2305c7d881b 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -1035,7 +1035,7 @@ config HAVE_ARCH_ALLOC_REMAP | |||
1035 | 1035 | ||
1036 | config ARCH_FLATMEM_ENABLE | 1036 | config ARCH_FLATMEM_ENABLE |
1037 | def_bool y | 1037 | def_bool y |
1038 | depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && X86_PC && !NUMA | 1038 | depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && !NUMA |
1039 | 1039 | ||
1040 | config ARCH_DISCONTIGMEM_ENABLE | 1040 | config ARCH_DISCONTIGMEM_ENABLE |
1041 | def_bool y | 1041 | def_bool y |
@@ -1051,7 +1051,7 @@ config ARCH_SPARSEMEM_DEFAULT | |||
1051 | 1051 | ||
1052 | config ARCH_SPARSEMEM_ENABLE | 1052 | config ARCH_SPARSEMEM_ENABLE |
1053 | def_bool y | 1053 | def_bool y |
1054 | depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC) | 1054 | depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC) || X86_GENERICARCH |
1055 | select SPARSEMEM_STATIC if X86_32 | 1055 | select SPARSEMEM_STATIC if X86_32 |
1056 | select SPARSEMEM_VMEMMAP_ENABLE if X86_64 | 1056 | select SPARSEMEM_VMEMMAP_ENABLE if X86_64 |
1057 | 1057 | ||