[PATCH 2/3] x86/numa: Add CPU_SUP_AMD dependency for legacy AMD NUMA
From: Vincent Mailhol
Date: Sat Oct 31 2026 - 03:52:51 EST
The legacy AMD NUMA probe reads topology from an Opteron northbridge.
It is only useful when AMD CPUs are supported, so gate it with
CPU_SUP_AMD.
Signed-off-by: Vincent Mailhol <mailhol@xxxxxxxxxx>
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index e09ec15a689a..6ee0265b5483 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1524,7 +1524,7 @@ config NUMA
config AMD_NUMA
def_bool y
prompt "Old style AMD Opteron NUMA detection"
- depends on X86_64 && NUMA && PCI
+ depends on X86_64 && NUMA && PCI && CPU_SUP_AMD
help
Enable AMD NUMA node topology detection. You should say Y here if
you have a multi processor AMD system. This uses an old method to
--
2.56.0