aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-09-26 10:52:35 +0200
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 10:52:35 +0200
commit2717941c6a1d8fa543ddca337d450ab30ef91543 (patch)
tree1489465cd6b06db0d49df6796293675a47cf6a6f
parent[PATCH] i386/x86-64: Improve Kconfig description of CRASH_DUMP (diff)
downloadlinux-dev-2717941c6a1d8fa543ddca337d450ab30ef91543.tar.xz
linux-dev-2717941c6a1d8fa543ddca337d450ab30ef91543.zip
[PATCH] Make boot_param_data pure BSS
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>
-rw-r--r--arch/x86_64/kernel/setup64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/setup64.c b/arch/x86_64/kernel/setup64.c
index 646caa0a20bb..b09e60fa96b4 100644
--- a/arch/x86_64/kernel/setup64.c
+++ b/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;