summaryrefslogtreecommitdiffstats
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
parent1edf777803bdd2aeeb04cf44508fd9b88737fba8 (diff)
downloadop-kernel-dev-2717941c6a1d8fa543ddca337d450ab30ef91543.zip
op-kernel-dev-2717941c6a1d8fa543ddca337d450ab30ef91543.tar.gz
[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 646caa0..b09e60f 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;
OpenPOWER on IntegriCloud