]> git.baikalelectronics.ru Git - kernel.git/commit
openrisc: Use devicetree to determine present cpus
authorJan Henrik Weinstock <jan.weinstock@rwth-aachen.de>
Mon, 8 Feb 2021 14:27:16 +0000 (15:27 +0100)
committerStafford Horne <shorne@gmail.com>
Mon, 8 Feb 2021 20:38:50 +0000 (05:38 +0900)
commit1026ced8f9d894e8efd3f27e04fc8fdc4a006325
treed3e81e4d84faa2716ccaa36c10b801283b60cf63
parente12c1e0fb1114f1dac7d14584de501b08b045404
openrisc: Use devicetree to determine present cpus

Use the device tree to determine the present cpus instead of assuming
all CONFIG_NRCPUS are actually present in the system.

Signed-off-by: Jan Henrik Weinstock <jan.weinstock@rwth-aachen.de>
[shorne: Squashed 2 email commits and added summary from email]
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/smp.c