summaryrefslogtreecommitdiff
path: root/target/linux/rb532/patches-2.6.32/001-cmdline_hack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/rb532/patches-2.6.32/001-cmdline_hack.patch')
-rw-r--r--target/linux/rb532/patches-2.6.32/001-cmdline_hack.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/rb532/patches-2.6.32/001-cmdline_hack.patch b/target/linux/rb532/patches-2.6.32/001-cmdline_hack.patch
index 246e502..82a324c 100644
--- a/target/linux/rb532/patches-2.6.32/001-cmdline_hack.patch
+++ b/target/linux/rb532/patches-2.6.32/001-cmdline_hack.patch
@@ -7,7 +7,7 @@
+extern char __image_cmdline[];
void __init prom_setup_cmdline(void)
{
- char cmd_line[CL_SIZE];
+ static char cmd_line[CL_SIZE] __initdata;
@@ -109,6 +110,9 @@ void __init prom_setup_cmdline(void)
}
*(cp++) = ' ';