Re: [PATCH 2/2] x86 : relocate uninitialized variable in init DATAsection into init BSS section

From: Ingo Molnar
Date: Thu Feb 21 2008 - 04:06:56 EST



* Huang, Ying <ying.huang@xxxxxxxxx> 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;

?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/