From: Andi Kleen Date: Tue, 26 Sep 2006 08:52:35 +0000 (+0200) Subject: [PATCH] Make boot_param_data pure BSS X-Git-Tag: firefly_0821_release~33451^2~102 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2717941c6a1d8fa543ddca337d450ab30ef91543;p=firefly-linux-kernel-4.4.55.git [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 --- 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 #include -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;