[PATCH] clean up compiler warnings in 2.5 bk
Benjamin Herrenschmidt
benh at kernel.crashing.org
Sat Nov 15 18:19:46 EST 2003
On Thu, 2003-11-13 at 22:43, Paul Mackerras wrote:
> Nathan Lynch writes:
>
> > Attached patch cleans up some warnings I've seen when building ameslab
> > 2.5 bk:
>
> > -} hmt_thread_data[NR_CPUS] = {0};
> > +} hmt_thread_data[NR_CPUS] = {{0}};
>
> I guess this is because we don't initialize the bss early enough.
> Apart from that I'd rather see the initializer disappear.
I have a patch doing the init from prom_init, is that early enough ?
I can dig that out on Monday.
Ben.
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list