[PATCH v2 5/6] ACPI: NUMA: Remove ARCH depends option in ACPI_NUMA Kconfig
Arnd Bergmann
arnd at arndb.de
Thu Mar 7 00:44:03 PST 2024
On Thu, Mar 7, 2024, at 09:47, Haibo Xu wrote:
> x86/arm64/loongarch would select ACPI_NUMA by default and riscv
> would do the same thing, so the dependency is no longer needed
> since these are the four architectures that support ACPI.
>
> Suggested-by: Arnd Bergmann <arnd at arndb.de>
> Suggested-by: Sunil V L <sunilvl at ventanamicro.com>
> Signed-off-by: Haibo Xu <haibo1.xu at intel.com>
> ---
> drivers/acpi/numa/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/acpi/numa/Kconfig b/drivers/acpi/numa/Kconfig
> index 849c2bd820b9..2bf47ad1ec9b 100644
> --- a/drivers/acpi/numa/Kconfig
> +++ b/drivers/acpi/numa/Kconfig
> @@ -2,7 +2,6 @@
> config ACPI_NUMA
> bool "NUMA support"
> depends on NUMA
> - depends on (X86 || ARM64 || LOONGARCH)
> default y if ARM64
Can we remove the prompt as well and make this a
hidden option? I think this is now always selected
when it can be used anyway.
If we make it
def_bool NUMA && !X86
then the select statements except for the X86_64_ACPI_NUMA
can also go away.
Arnd
More information about the linux-riscv
mailing list