diff options
Diffstat (limited to 'mm/Kconfig')
-rw-r--r-- | mm/Kconfig | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index fc644c5c065d..4e9937ac3529 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -91,10 +91,23 @@ config HAVE_MEMORY_PRESENT | |||
91 | depends on ARCH_HAVE_MEMORY_PRESENT || SPARSEMEM | 91 | depends on ARCH_HAVE_MEMORY_PRESENT || SPARSEMEM |
92 | 92 | ||
93 | # | 93 | # |
94 | # SPARSEMEM_EXTREME (which is the default) does some bootmem | ||
95 | # allocations when memory_present() is called. If this can not | ||
96 | # be done on your architecture, select this option. However, | ||
97 | # statically allocating the mem_section[] array can potentially | ||
98 | # consume vast quantities of .bss, so be careful. | ||
99 | # | ||
100 | # This option will also potentially produce smaller runtime code | ||
101 | # with gcc 3.4 and later. | ||
102 | # | ||
103 | config SPARSEMEM_STATIC | ||
104 | def_bool n | ||
105 | |||
106 | # | ||
94 | # Architectecture platforms which require a two level mem_section in SPARSEMEM | 107 | # Architectecture platforms which require a two level mem_section in SPARSEMEM |
95 | # must select this option. This is usually for architecture platforms with | 108 | # must select this option. This is usually for architecture platforms with |
96 | # an extremely sparse physical address space. | 109 | # an extremely sparse physical address space. |
97 | # | 110 | # |
98 | config ARCH_SPARSEMEM_EXTREME | 111 | config SPARSEMEM_EXTREME |
99 | def_bool n | 112 | def_bool y |
100 | depends on SPARSEMEM && 64BIT | 113 | depends on SPARSEMEM && !SPARSEMEM_STATIC |