Re: [PATCH] powerpc: Fix mpic_resume on early G5 macs

2010-06-14 Thread Benjamin Herrenschmidt
On Sat, 2010-06-12 at 21:36 -0400, Alastair Bridgewater wrote: > 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 susend-to-disk with one processor (maxcpus=1) for me. Thanks. Patch is terri

[PATCH] powerpc: Fix mpic_resume on early G5 macs

2010-06-12 Thread Alastair Bridgewater
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 --- diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerp