[PATCH] Add idle wait support for 44x platforms

Josh Boyer jwboyer at linux.vnet.ibm.com
Fri Apr 4 22:47:41 EST 2008


On Fri, 04 Apr 2008 01:12:38 -0500
Jerone Young <jyoung5 at us.ibm.com> wrote: 
> > 
> > > +static int current_mode = 0;
> > 
> > Leave this as: static int current_mode;, so it'll end up in the bss
> 
> The problem here is that this defines the default case. Is there really
> a benefit having this in bss ?

It's still defined to 0 if it's in the BSS, as that is all initialized
to 0.

josh



More information about the Linuxppc-dev mailing list