lkml.org 
[lkml]   [2008]   [Feb]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] x86 : relocate uninitialized variable in init DATA section into init BSS section
From"Huang, Ying" <>
DateThu, 21 Feb 2008 17:28:26 +0800
On Thu, 2008-02-21 at 10:05 +0100, Ingo Molnar wrote:
> * Huang, Ying <ying.huang@intel.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


\
 
 \ /
  Last update: 2008-02-21 10:37    [from the cache]
©2003-2008