Subject: Re: [PATCH 15/18] powerpc/smp: Don't expose per-cpu "cpu_state" array

From: Benjamin Herrenschmidt <[email-masked]>
Date: Tue, 29 Mar 2011 19:13:08 +1100

On Tue, 2011-03-29 at 16:37 +1100, Michael Ellerman wrote:
> Takes a cpu parameter ..
> 
> > +void generic_set_cpu_dead(unsigned int cpu)
> > +{
> > +     __get_cpu_var(cpu_state) = CPU_DEAD;
> > +}
> 
> But doesn't use it.

Yeah that's a bug. Fortunately it's always called on the current CPU :-)
I'll fix it tho.

Thanks,
Ben.