aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig22
1 files changed, 9 insertions, 13 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 2f4d88babd36..da98368f66af 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -891,25 +891,29 @@ config HAVE_ARCH_ALLOC_REMAP
891 891
892config ARCH_FLATMEM_ENABLE 892config ARCH_FLATMEM_ENABLE
893 def_bool y 893 def_bool y
894 depends on (X86_32 && ARCH_SELECT_MEMORY_MODEL && X86_PC) || (X86_64 && !NUMA) 894 depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && X86_PC
895 895
896config ARCH_DISCONTIGMEM_ENABLE 896config ARCH_DISCONTIGMEM_ENABLE
897 def_bool y 897 def_bool y
898 depends on NUMA 898 depends on NUMA && X86_32
899 899
900config ARCH_DISCONTIGMEM_DEFAULT 900config ARCH_DISCONTIGMEM_DEFAULT
901 def_bool y 901 def_bool y
902 depends on NUMA 902 depends on NUMA && X86_32
903
904config ARCH_SPARSEMEM_DEFAULT
905 def_bool y
906 depends on X86_64
903 907
904config ARCH_SPARSEMEM_ENABLE 908config ARCH_SPARSEMEM_ENABLE
905 def_bool y 909 def_bool y
906 depends on NUMA || (EXPERIMENTAL && (X86_PC || X86_64)) 910 depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC)
907 select SPARSEMEM_STATIC if X86_32 911 select SPARSEMEM_STATIC if X86_32
908 select SPARSEMEM_VMEMMAP_ENABLE if X86_64 912 select SPARSEMEM_VMEMMAP_ENABLE if X86_64
909 913
910config ARCH_SELECT_MEMORY_MODEL 914config ARCH_SELECT_MEMORY_MODEL
911 def_bool y 915 def_bool y
912 depends on X86_32 && ARCH_SPARSEMEM_ENABLE 916 depends on ARCH_SPARSEMEM_ENABLE
913 917
914config ARCH_MEMORY_PROBE 918config ARCH_MEMORY_PROBE
915 def_bool X86_64 919 def_bool X86_64
@@ -1207,18 +1211,10 @@ config ARCH_ENABLE_MEMORY_HOTPLUG
1207 def_bool y 1211 def_bool y
1208 depends on X86_64 || (X86_32 && HIGHMEM) 1212 depends on X86_64 || (X86_32 && HIGHMEM)
1209 1213
1210config MEMORY_HOTPLUG_RESERVE
1211 def_bool X86_64
1212 depends on (MEMORY_HOTPLUG && DISCONTIGMEM)
1213
1214config HAVE_ARCH_EARLY_PFN_TO_NID 1214config HAVE_ARCH_EARLY_PFN_TO_NID
1215 def_bool X86_64 1215 def_bool X86_64
1216 depends on NUMA 1216 depends on NUMA
1217 1217
1218config OUT_OF_LINE_PFN_TO_PAGE
1219 def_bool X86_64
1220 depends on DISCONTIGMEM
1221
1222menu "Power management options" 1218menu "Power management options"
1223 depends on !X86_VOYAGER 1219 depends on !X86_VOYAGER
1224 1220