1 Index: linux-3.0.3/arch/mips/lantiq/prom.c
2 ===================================================================
3 --- linux-3.0.3.orig/arch/mips/lantiq/prom.c 2011-10-02 15:49:12.000000000 +0200
4 +++ linux-3.0.3/arch/mips/lantiq/prom.c 2011-10-02 15:50:34.614270672 +0200
9 +#ifdef CONFIG_IMAGE_CMDLINE_HACK
10 +extern char __image_cmdline[];
13 +prom_init_image_cmdline(void)
15 + char *p = __image_cmdline;
27 + strlcpy(arcs_cmdline, p, sizeof(arcs_cmdline));
29 + strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline));
30 + strlcat(arcs_cmdline, p, sizeof(arcs_cmdline));
34 +static void __init prom_init_image_cmdline(void) { return; }
37 static void __init prom_init_cmdline(void)
41 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline));
44 + prom_init_image_cmdline();
47 void __iomem *ltq_remap_resource(struct resource *res)