[PATCH] powerpc: Use common cpu_die (fixes SMP+SUSPEND build)

2010-05-19 Thread Anton Vorontsov
From: Milton Miller Configuring a powerpc 32 bit kernel for both SMP and SUSPEND turns on CPU_HOTPLUG to enable disable_nonboot_cpus to be called by the common suspend code. Previously the definition of cpu_die for ppc32 was in the powermac platform code, causing it to be undefined if that platf

Re: [PATCH] powerpc: use common cpu_die

2009-02-06 Thread Milton Miller
On Feb 3, 2009, at 10:07 PM, Benjamin Herrenschmidt wrote: --- work.git.orig/arch/powerpc/platforms/powermac/setup.c-static void pmac_cpu_die(void) +static void pmac64_cpu_die(void) ... --- work.git.orig/arch/powerpc/platforms/powermac/smp.c 2009-01-05 02:09:08.0 -0600 -void cpu_die(

Re: [PATCH] powerpc: use common cpu_die

2009-02-03 Thread Benjamin Herrenschmidt
> --- work.git.orig/arch/powerpc/platforms/powermac/setup.c 2009-01-05 > 02:09:08.0 -0600 > +++ work.git/arch/powerpc/platforms/powermac/setup.c 2009-01-05 > 02:27:23.0 -0600 > @@ -672,7 +672,7 @@ static int pmac_pci_probe_mode(struct pc > /* access per cpu vars from generi

Re: [PATCH] powerpc: use common cpu_die

2009-01-06 Thread Milton Miller
#insert top_post On Jan 5, 2009, at 6:47 PM, Matt Sealey wrote: Milton you're amazing <3 This is going to take a while to test. I have to build a new source rpm and push it to Peter, who is doing some work and I need him to have working config the same as mine. I am build testing the patch i

Re: [PATCH] powerpc: use common cpu_die

2009-01-05 Thread Matt Sealey
Milton you're amazing <3 This is going to take a while to test. I have to build a new source rpm and push it to Peter, who is doing some work and I need him to have working config the same as mine. I am build testing the patch in parallel here.. maybe I will have a kernel tonight or maybe tomo

[PATCH] powerpc: use common cpu_die

2009-01-05 Thread Milton Miller
Configuring a powerpc 32 bit kernel for both SMP and SUSPEND turns on CPU_HOTPLUG to enable disable_nonboot_cpus to be called by the common suspend code. Previously the definition of cpu_die for ppc32 was in the powermac platform code, causing it to be undefined if that platform as not selected.