Skip to content
Commit 41ff445c authored by Jeff Ohlstein's avatar Jeff Ohlstein Committed by Arnd Bergmann
Browse files

ARM: msm: platsmp: determine number of CPU cores at boot time



Previously we just assumed there were CONFIG_NR_CPUS cpus present in
the system. Instead, figure out the number of cpus from the MIDR
register.

Signed-off-by: default avatarJeff Ohlstein <johlstei@codeaurora.org>
Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
[arnd: clarified patch title]
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 620917de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment