1 --- a/arch/mips/kernel/head.S
2 +++ b/arch/mips/kernel/head.S
9 +EXPORT(_image_cmdline)
12 #ifndef CONFIG_NO_EXCEPT_FILL
14 * Reserved space for exception handlers.
15 --- a/arch/mips/rb532/prom.c
16 +++ b/arch/mips/rb532/prom.c
17 @@ -67,6 +67,7 @@ static inline unsigned long tag2ul(char
18 return simple_strtoul(num, 0, 10);
21 +extern char _image_cmdline;
22 void __init prom_setup_cmdline(void)
24 char cmd_line[CL_SIZE];
25 @@ -109,6 +110,9 @@ void __init prom_setup_cmdline(void)
29 + strcpy(cp,(&_image_cmdline + 8));
30 + cp += strlen(&_image_cmdline);
32 i = strlen(arcs_cmdline);