rb532: use the generic image_cmdline hack
[openwrt.git] / target / linux / rb532 / patches / 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 char cmd_line[CL_SIZE];
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.053957 seconds and 5 git commands to generate.