Messages in this thread Patch in this message | | | From | Andi Kleen <> | Subject | [PATCH for review] [121/145] x86_64: Make boot_param_data pure BSS | Date | Thu, 10 Aug 2006 21:37:20 +0200 (CEST) |
| |
r
Since it's all zero.
Actually I think gcc 4+ will do that automatically, but earlier compilers won't Signed-off-by: Andi Kleen <ak@suse.de>
--- arch/x86_64/kernel/setup64.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
Index: linux/arch/x86_64/kernel/setup64.c =================================================================== --- linux.orig/arch/x86_64/kernel/setup64.c +++ linux/arch/x86_64/kernel/setup64.c @@ -24,7 +24,7 @@ #include <asm/proto.h> #include <asm/sections.h> -char x86_boot_params[BOOT_PARAM_SIZE] __initdata = {0,}; +char x86_boot_params[BOOT_PARAM_SIZE] __initdata; cpumask_t cpu_initialized __cpuinitdata = CPU_MASK_NONE; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |