atheros: refresh 2.6.32 patches
[openwrt.git] / target / linux / rb532 / patches-2.6.33 / 001-cmdline_hack.patch
1 --- a/arch/mips/rb532/prom.c
2 +++ b/arch/mips/rb532/prom.c
3 @@ -67,6 +67,7 @@ static inline unsigned long tag2ul(char
4 return simple_strtoul(num, 0, 10);
5 }
6
7 +extern char __image_cmdline[];
8 void __init prom_setup_cmdline(void)
9 {
10 static char cmd_line[CL_SIZE] __initdata;
11 @@ -109,6 +110,9 @@ void __init prom_setup_cmdline(void)
12 }
13 *(cp++) = ' ';
14
15 + strcpy(cp,(__image_cmdline));
16 + cp += strlen(__image_cmdline);
17 +
18 i = strlen(arcs_cmdline);
19 if (i > 0) {
20 *(cp++) = ' ';
This page took 0.04052 seconds and 5 git commands to generate.