commit | 7ac87abb8166b99584149fcfb2efef5773a078e9 | [log] [tgz] |
---|---|---|
author | Matt Evans <matt@ozlabs.org> | Wed May 25 18:09:12 2011 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Jun 17 16:19:51 2011 +1000 |
tree | 626ccec24e00720ada0bd8f967922d935f0eeca8 | |
parent | 32d206eb5637d8cf73d9c70f7680de2a7193ce8b [diff] |
powerpc: Fix early boot accounting of CPUs smp_release_cpus() waits for all cpus (including the bootcpu) due to an off-by-one count on boot_cpu_count (which is all CPUs). This patch replaces that with spinning_secondaries (which is all secondary CPUs). Signed-off-by: Matt Evans <matt@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>