[PATCH] powerpc: zero out BSS for all platforms

Olaf Hering olh at suse.de
Tue Oct 11 19:30:40 EST 2005


 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 <kumar.gala at freescale.com>
> 
> 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.

-- 
short story of a lazy sysadmin:
 alias appserv=wotan



More information about the Linuxppc-dev mailing list