Jelajahi Sumber

arm64: Kconfig: select OF/ACPI_NUMA under NUMA config

Move OF_NUMA select under NUMA config, and select ACPI_NUMA
when ACPI enabled.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Kefeng Wang 8 tahun lalu
induk
melakukan
0c2a6cce17
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      arch/arm64/Kconfig

+ 2 - 1
arch/arm64/Kconfig

@@ -103,7 +103,6 @@ config ARM64
 	select NO_BOOTMEM
 	select NO_BOOTMEM
 	select OF
 	select OF
 	select OF_EARLY_FLATTREE
 	select OF_EARLY_FLATTREE
-	select OF_NUMA if NUMA && OF
 	select OF_RESERVED_MEM
 	select OF_RESERVED_MEM
 	select PCI_ECAM if ACPI
 	select PCI_ECAM if ACPI
 	select POWER_RESET
 	select POWER_RESET
@@ -581,6 +580,8 @@ config HOTPLUG_CPU
 config NUMA
 config NUMA
 	bool "Numa Memory Allocation and Scheduler Support"
 	bool "Numa Memory Allocation and Scheduler Support"
 	depends on SMP
 	depends on SMP
+	select ACPI_NUMA if ACPI
+	select OF_NUMA
 	help
 	help
 	  Enable NUMA (Non Uniform Memory Access) support.
 	  Enable NUMA (Non Uniform Memory Access) support.