Skip to content

Commit 38e716a

Browse files
hkamezawaLinus Torvalds
authored andcommitted
[PATCH] x86: NUMAQ Kconfig fix
When we select NUMA with i386, the system is only X86_NUMAQ or using ACPI. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent f5ef68d commit 38e716a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/i386/Kconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ config X86_SUMMIT
142142
In particular, it is needed for the x440.
143143

144144
If you don't have one of these computers, you should say N here.
145+
If you want to build a NUMA kernel, you must select ACPI.
145146

146147
config X86_BIGSMP
147148
bool "Support for other sub-arch SMP systems with more than 8 CPUs"
@@ -169,6 +170,7 @@ config X86_GENERICARCH
169170
help
170171
This option compiles in the Summit, bigsmp, ES7000, default subarchitectures.
171172
It is intended for a generic binary kernel.
173+
If you want a NUMA kernel, select ACPI. We need SRAT for NUMA.
172174

173175
config X86_ES7000
174176
bool "Support for Unisys ES7000 IA32 series"
@@ -542,7 +544,7 @@ config X86_PAE
542544
# Common NUMA Features
543545
config NUMA
544546
bool "Numa Memory Allocation and Scheduler Support"
545-
depends on SMP && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI))
547+
depends on SMP && HIGHMEM64G && (X86_NUMAQ || (X86_SUMMIT || X86_GENERICARCH) && ACPI)
546548
default n if X86_PC
547549
default y if (X86_NUMAQ || X86_SUMMIT)
548550

0 commit comments

Comments
 (0)