kernel: add some more missing kernel symbols for 3.2 and 3.3
[openwrt.git] / target / linux / lantiq / patches-3.2 / 209-fritz_ram.patch
1 Index: linux-3.2.9/arch/mips/lantiq/setup.c
2 ===================================================================
3 --- linux-3.2.9.orig/arch/mips/lantiq/setup.c 2012-03-20 11:23:49.000000000 +0100
4 +++ linux-3.2.9/arch/mips/lantiq/setup.c 2012-03-20 11:25:54.119568502 +0100
5 @@ -40,6 +40,12 @@
6 e += 8;
7 if (strict_strtoul(e, 0, &memsize))
8 pr_warn("bad memsize specified\n");
9 + } else if (!strcmp(e, "memsize")) {
10 + envp++;
11 + e = (char *)KSEG1ADDR(*envp);
12 + if (strict_strtoul(e, 0, &memsize))
13 + pr_warn("bad memsize specified\n");
14 + memsize /= 1024 * 1024;
15 }
16 if (!strncmp(e, "BRN-BOOT", 8)){
17 pr_info("Found BRN-BOOT instead of u-boot\n");
This page took 0.047975 seconds and 5 git commands to generate.