2007-02-09 15:39:26

by Alon Bar-Lev

[permalink] [raw]
Subject: [PATCH 19/34] __initdata cleanup - xtensa


Trivial.

**NOT TESTED***

Signed-off-by: Alon Bar-Lev <[email protected]>
Signed-off-by: Bernhard Walle <[email protected]>

---

diff -urNp linux-2.6.20-rc6-mm3.org/arch/xtensa/kernel/setup.c linux-2.6.20-rc6-mm3/arch/xtensa/kernel/setup.c
--- linux-2.6.20-rc6-mm3.org/arch/xtensa/kernel/setup.c
+++ linux-2.6.20-rc6-mm3/arch/xtensa/kernel/setup.c
@@ -78,13 +78,13 @@ extern unsigned long loops_per_jiffy;

/* Command line specified as configuration option. */

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

#ifdef CONFIG_CMDLINE_BOOL
static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
#endif

-sysmem_info_t __initdata sysmem;
+sysmem_info_t __initdata sysmem = {0};

#ifdef CONFIG_BLK_DEV_INITRD
int initrd_is_mapped;