X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/18d905d52ddd7be753fca9246685bb8522edad47..8ac28fce23e53b73c507b9c6d6c0312579f6e7a7:/target/linux/rb532/patches-2.6.32/001-cmdline_hack.patch?ds=inline 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 246e502b7..82a324ccf 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++) = ' ';