commit | 41ff445cdb8b3d618425f8a16e2b873046bbe536 | [log] [tgz] |
---|---|---|
author | Jeff Ohlstein <johlstei@codeaurora.org> | Thu Apr 07 17:41:09 2011 -0700 |
committer | Arnd Bergmann <arnd@arndb.de> | Thu Jul 21 16:43:03 2011 +0200 |
tree | 60a660c1f1924b23185f67b21869b964f57e164a | |
parent | 620917de59eeb934b9f8cf35cc2d95c1ac8ed0fc [diff] |
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: 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>