X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fadm5120%2Fpatches-2.6.28%2F140-cmdline_hack.patch;fp=target%2Flinux%2Fadm5120%2Fpatches-2.6.28%2F140-cmdline_hack.patch;h=14172fcaf952ebb088aad60354f184da543c143e;hb=8910bfebc23965238829cfdc7fc474eb798d60ec;hp=0000000000000000000000000000000000000000;hpb=a2670b502d829e3ba00e26293e47540600e6bfd8;p=openwrt-10.03%2F.git diff --git a/target/linux/adm5120/patches-2.6.28/140-cmdline_hack.patch b/target/linux/adm5120/patches-2.6.28/140-cmdline_hack.patch new file mode 100644 index 000000000..14172fcaf --- /dev/null +++ b/target/linux/adm5120/patches-2.6.28/140-cmdline_hack.patch @@ -0,0 +1,15 @@ +--- a/arch/mips/kernel/head.S ++++ b/arch/mips/kernel/head.S +@@ -127,7 +127,12 @@ + /* + * Reserved space for exception handlers. + * Necessary for machines which link their kernels at KSEG0. ++ * Use as temporary storage for the kernel command line, so that it ++ * can be updated easily without having to relink the kernel. + */ ++ ++EXPORT(_image_cmdline) ++ .ascii "CMDLINE:" + .fill 0x400 + #endif +