Skip to content

Commit adc3e82

Browse files
xiaobo55xpalmer-dabbelt
authored andcommitted
ACPI: NUMA: change the ACPI_NUMA to a hidden option
x86/arm64/loongarch would select ACPI_NUMA by default and riscv would do the same thing, so change it to a hidden option and the select statements except for the X86_64_ACPI_NUMA can also go away. Suggested-by: Arnd Bergmann <[email protected]> Suggested-by: Sunil V L <[email protected]> Signed-off-by: Haibo Xu <[email protected]> Reviewed-by: Sunil V L <[email protected]> Acked-by: Huacai Chen <[email protected]> Acked-by: Will Deacon <[email protected]> Reviewed-by: Hanjun Guo <[email protected]> Link: https://lore.kernel.org/r/f1f96377b8ecd6e3183f28abf5c9ac21cb9855ea.1718268003.git.haibo1.xu@intel.com Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 39494ae commit adc3e82

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

arch/arm64/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,6 @@ config HOTPLUG_CPU
14841484
config NUMA
14851485
bool "NUMA Memory Allocation and Scheduler Support"
14861486
select GENERIC_ARCH_NUMA
1487-
select ACPI_NUMA if ACPI
14881487
select OF_NUMA
14891488
select HAVE_SETUP_PER_CPU_AREA
14901489
select NEED_PER_CPU_EMBED_FIRST_CHUNK

arch/loongarch/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,6 @@ config NR_CPUS
470470
config NUMA
471471
bool "NUMA Support"
472472
select SMP
473-
select ACPI_NUMA if ACPI
474473
help
475474
Say Y to compile the kernel with NUMA (Non-Uniform Memory Access)
476475
support. This option improves performance on systems with more

drivers/acpi/numa/Kconfig

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22
config ACPI_NUMA
3-
bool "NUMA support"
4-
depends on NUMA
5-
depends on (X86 || ARM64 || LOONGARCH)
6-
default y if ARM64
3+
def_bool NUMA && !X86
74

85
config ACPI_HMAT
96
bool "ACPI Heterogeneous Memory Attribute Table Support"

0 commit comments

Comments
 (0)