]> err.no Git - linux-2.6/commitdiff
[PATCH] Make boot_param_data pure BSS
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:35 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:35 +0000 (10:52 +0200)
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

index 646caa0a20bbf497908595f68353ef13c91ec147..b09e60fa96b4f4d0ab9dd7e47e8e9769d318e744 100644 (file)
@@ -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;