[PATCH 04/34] __initdata cleanup - frv

Alon Bar-Lev
2007-02-09T15:46:20Z

diff -urNp linux-2.6.20-rc6-mm3.org/arch/frv/kernel/setup.c linux-2.6.20-rc6-mm3/arch/frv/kernel/setup.c
--- linux-2.6.20-rc6-mm3.org/arch/frv/kernel/setup.c 2007-01-31 22:15:30.000000000 +0200
+++ linux-2.6.20-rc6-mm3/arch/frv/kernel/setup.c 2007-01-31 22:19:30.000000000 +0200
@@ -105,13 +105,13 @@ unsigned long __nongprelbss memory_end;
unsigned long __nongprelbss dma_coherent_mem_start;
unsigned long __nongprelbss dma_coherent_mem_end;

-unsigned long __initdata __sdram_old_base;
-unsigned long __initdata num_mappedpages;
+unsigned long __initdata __sdram_old_base = 0l;
+unsigned long __initdata num_mappedpages = 0l;

struct cpuinfo_frv __nongprelbss boot_cpu_data;

-char __initdata command_line[COMMAND_LINE_SIZE];
-char __initdata redboot_command_line[COMMAND_LINE_SIZE];
+char __initdata command_line[COMMAND_LINE_SIZE] = "";
+char __initdata redboot_command_line[COMMAND_LINE_SIZE] = "";

#ifdef CONFIG_PM
#define __pminit