[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1203586106.4707.25.camel@caritas-dev.intel.com>
Date: Thu, 21 Feb 2008 17:28:26 +0800
From: "Huang, Ying" <ying.huang@...el.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Ingo Molnar <mingo@...hat.com>, "H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>, Andi Kleen <ak@...e.de>,
Ian Campbell <ijc@...lion.org.uk>,
Matt Mackall <mpm@...enic.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] x86 : relocate uninitialized variable in init DATA
section into init BSS section
On Thu, 2008-02-21 at 10:05 +0100, Ingo Molnar wrote:
> * Huang, Ying <ying.huang@...el.com> wrote:
>
> > Uninitialized variable in init DATA sections are relocated into init
> > BSS sections to reduce kernel image size. Several KB can be reduced.
>
> > -int __initdata early_ioremap_debug;
> > +int __initbss early_ioremap_debug;
>
> will we get some sort of build error if we accidentally do:
>
> int __initbss early_ioremap_debug = 1;
>
> ?
I tested it just now, and there is no build error.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists