Subject: Re: [PATCH] powerpc: zero out BSS for all platforms

From: Benjamin Herrenschmidt <[email-masked]>
Date: Tue, 11 Oct 2005 19:48:56 +1000

On Tue, 2005-10-11 at 11:30 +0200, Olaf Hering wrote:
>  On Tue, Oct 11, Benjamin Herrenschmidt wrote:
> 
> > On Mon, 2005-10-10 at 14:51 -0500, Kumar Gala wrote:
> > > We need to ensure that the BSS is zeroed out for all platforms.
> > > Currently only prom_init.c was clearlying out the BSS which only works
> > > for PPC_OF platforms.
> > > 
> > > Signed-off-by: Kumar K. Gala <[email-masked]>
> > 
> > You need to make absolutely certain that we have not written anything to
> > the bss yet though... Is that the case ? I usually prefer doing the
> > zero'ing in assembly :)
> 
> early_init is called so early, its almost like asm code.

Yah, as long as that stuff is still separate between ppc32 and ppc64,
that's fine. We'll have to be careful with iSeries once we do the
merge :)

Ben.