1 diff -ur linux.old/arch/mips/kernel/head.S linux.dev/arch/mips/kernel/head.S
2 --- linux.old/arch/mips/kernel/head.S 2006-12-06 17:30:27.000000000 +0100
3 +++ linux.dev/arch/mips/kernel/head.S 2006-12-06 18:34:43.000000000 +0100
15 * Reserved space for exception handlers.
16 * Necessary for machines which link their kernels at KSEG0.
17 + * Use as temporary storage for the kernel command line, so that it
18 + * can be updated easily without having to relink the kernel.
22 +EXPORT(_image_cmdline)
26 EXPORT(stext) # used for profiling
28 diff -ur linux.old/arch/mips/rb500/prom.c linux.dev/arch/mips/rb500/prom.c
29 --- linux.old/arch/mips/rb500/prom.c 2006-12-06 17:30:27.000000000 +0100
30 +++ linux.dev/arch/mips/rb500/prom.c 2006-12-06 17:41:40.000000000 +0100
35 +extern char _image_cmdline;
36 void __init prom_setup_cmdline(void){
37 char cmd_line[CL_SIZE];
40 strcpy(cp,prom_argv[i]);
41 cp+=strlen(prom_argv[i]);
44 + strcpy(cp,(&_image_cmdline + 8));
45 + cp += strlen(&_image_cmdline);
47 i=strlen(arcs_cmdline);