Skip to content

Commit 1955c4f

Browse files
committed
parisc: Re-enable GENERIC_CPU_DEVICES for !SMP
In commit 6277311 ("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. Reported-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Fixes: 6277311 ("parisc: Switch from GENERIC_CPU_DEVICES to GENERIC_ARCH_TOPOLOGY") Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 7e93a3d commit 1955c4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/parisc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ config PARISC
3838
select ARCH_HAVE_NMI_SAFE_CMPXCHG
3939
select GENERIC_SMP_IDLE_THREAD
4040
select GENERIC_ARCH_TOPOLOGY if SMP
41+
select GENERIC_CPU_DEVICES if !SMP
4142
select GENERIC_LIB_DEVMEM_IS_ALLOWED
4243
select SYSCTL_ARCH_UNALIGN_ALLOW
4344
select SYSCTL_EXCEPTION_TRACE

0 commit comments

Comments
 (0)