diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-03-16 14:54:35 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-20 11:03:24 +1000 |
commit | 9d07bc841c9779b4d7902e417f4e509996ce805d (patch) | |
tree | 7a381096d3da7497aac58c4ec18c74299ee47fb4 /arch/powerpc/kernel/setup_32.c | |
parent | ad0693ee722b93b63a89c845e99513f242e43aa6 (diff) | |
download | blackbird-op-linux-9d07bc841c9779b4d7902e417f4e509996ce805d.tar.gz blackbird-op-linux-9d07bc841c9779b4d7902e417f4e509996ce805d.zip |
powerpc: Properly handshake CPUs going out of boot spin loop
We need to wait a bit for them to have done their CPU setup
or we might end up with translation and EE on with different
LPCR values between threads
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index 1d2fbc905303..620d792b52e4 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c @@ -48,6 +48,7 @@ extern void bootx_init(unsigned long r4, unsigned long phys); int boot_cpuid = -1; EXPORT_SYMBOL_GPL(boot_cpuid); +int __initdata boot_cpu_count; int boot_cpuid_phys; int smp_hw_index[NR_CPUS]; |