Skip to contentSkip to conversation

parisc: Re-enable GENERIC_CPU_DEVICES for !SMP

PATCH Guenter Roeck 1 participant 1 message Apr 2, 2022

lore
Share & tools
lore

Guenter Roeck

author Tested-by
#0 lore raw
Quoted 8 lines · Helge Deller

In commit 62773112acc5 ("parisc: Switch from GENERIC_CPU_DEVICES to GENERIC_ARCH_TOPOLOGY") GENERIC_CPU_DEVICES was unconditionally turned off, but this triggers a warning in topology_add_dev(). Turning it back on for the !SMP case avoids this warning.

Fixes 62773112acc5 ("parisc: Switch from GENERIC_CPU_DEVICES to GENERIC_ARCH_TOPOLOGY")

Guenter

Quoted 19 lines
---
 arch/parisc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/parisc/Kconfig +1 -1
index 52e550b45692..bd22578859d0 100644
@@ -38,6 +38,7 @@ config PARISC
 	select ARCH_HAVE_NMI_SAFE_CMPXCHG
 	select GENERIC_SMP_IDLE_THREAD
 	select GENERIC_ARCH_TOPOLOGY if SMP
+	select GENERIC_CPU_DEVICES if !SMP
 	select GENERIC_LIB_DEVMEM_IS_ALLOWED
 	select SYSCTL_ARCH_UNALIGN_ALLOW
 	select SYSCTL_EXCEPTION_TRACE
--

2.35.1