]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Re-enable GENERIC_CPU_DEVICES for !SMP
authorHelge Deller <deller@gmx.de>
Fri, 1 Apr 2022 20:24:20 +0000 (22:24 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 8 May 2022 18:01:11 +0000 (20:01 +0200)
commit5a615847ac6e2ba235a66c259917a1c221ca87c7
treed08e5e2c24baa127f1f6e9bf1402e9b45cd44a1b
parenta3aed973a4bb04cd3189248234ccc4451b4f61df
parisc: Re-enable GENERIC_CPU_DEVICES for !SMP

In commit 8f439e87d94e ("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: 8f439e87d94e ("parisc: Switch from GENERIC_CPU_DEVICES to GENERIC_ARCH_TOPOLOGY")
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/Kconfig