ARM: msm: platsmp: determine number of CPU cores at boot time
authorJeff Ohlstein <johlstei@codeaurora.org>
Fri, 8 Apr 2011 00:41:09 +0000 (17:41 -0700)
committerArnd Bergmann <arnd@arndb.de>
Thu, 21 Jul 2011 14:43:03 +0000 (16:43 +0200)
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: Jeff Ohlstein <johlstei@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
[arnd: clarified patch title]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

No differences found