From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 11 Oct 2005 11:30:40 +0200 From: Olaf Hering To: Benjamin Herrenschmidt Message-ID: <20051011093040.GA5362@suse.de> References: <1129016771.17365.198.camel@gaston> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <1129016771.17365.198.camel@gaston> Cc: linuxppc-dev@ozlabs.org, Kumar Gala , linuxppc64-dev Subject: Re: [PATCH] powerpc: zero out BSS for all platforms List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > > 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