| commit | 7c9d93604b25c25dc059e2b12ad5e89ca3ed4376 | [log] [tgz] |
|---|---|---|
| author | Alastair Bridgewater <alastair.bridgewater@gmail.com> | Sat Jun 12 15:36:48 2010 +0000 |
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Jun 15 15:02:37 2010 +1000 |
| tree | c90754b945d510aa7e7eada626814e0ce33812e3 | |
| parent | bd2b64a12bf55bec0d1b949e3dca3f8863409646 [diff] |
powerpc: Fix mpic_resume on early G5 macs mpic_resume() on G5 macs blindly dereferences mpic->fixups, but it may legitimately be NULL (as on PowerMac7,2). Add an explicit check. This fixes suspend-to-disk with one processor (maxcpus=1) for me. Signed-off-by: Alastair Bridgewater <alastair.bridgewater@gmail.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>