powerpc/pmac: Fix SMP kernels on pre-core99 UP machines
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 9 Dec 2011 04:06:18 +0000 (15:06 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 16 Dec 2011 00:10:25 +0000 (11:10 +1100)
commit78c5c68a4cf4329d17abfa469345ddf323d4fd62
treeb83bf1b2fd8eea15e6c7d0cfc8d485445b7c6558
parent8e609d5e7bc032ab220d47c841c992bd8544d0e1
powerpc/pmac: Fix SMP kernels on pre-core99 UP machines

The code for "powersurge" SMP would kick in and cause a crash
at boot due to the lack of a NULL test.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powermac/smp.c