summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip22/ip22-setup.c
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.com>2009-11-23 13:53:37 +0200
committerRalf Baechle <ralf@linux-mips.org>2009-12-17 01:57:27 +0000
commit599a89459f316499446fdb5c817a0a4835681bae (patch)
tree342f276b475b5c1fcdada4573ea704a009a9dc47 /arch/mips/sgi-ip22/ip22-setup.c
parent7326c4e567b50e689d13c04d58aeffa515277ebb (diff)
downloadlinux-599a89459f316499446fdb5c817a0a4835681bae.tar.gz
linux-599a89459f316499446fdb5c817a0a4835681bae.tar.bz2
linux-599a89459f316499446fdb5c817a0a4835681bae.zip
MIPS: Move several variables from .bss to .init.data
Several static uninitialized variables are used in the scope of __init functions but are themselves not marked as __initdata. This patch is to put those variables to where they belong and to reduce the memory footprint a little bit. Also, a couple of lines with spaces instead of tabs were fixed. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/698/ Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip22/ip22-setup.c')
-rw-r--r--arch/mips/sgi-ip22/ip22-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip22/ip22-setup.c b/arch/mips/sgi-ip22/ip22-setup.c
index b9a931358e23..5deeb68b6c9c 100644
--- a/arch/mips/sgi-ip22/ip22-setup.c
+++ b/arch/mips/sgi-ip22/ip22-setup.c
@@ -67,7 +67,7 @@ void __init plat_mem_setup(void)
cserial = ArcGetEnvironmentVariable("ConsoleOut");
if ((ctype && *ctype == 'd') || (cserial && *cserial == 's')) {
- static char options[8];
+ static char options[8] __initdata;
char *baud = ArcGetEnvironmentVariable("dbaud");
if (baud)
strcpy(options, baud);