diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2010-02-17 23:00:47 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2010-02-17 23:00:47 +0000 |
commit | c7d10f043ff6e8b63c7266f99ff0aa0a101f4365 (patch) | |
tree | ba3ebda0eb37f5730649d67f5fe1efa0288c63bd /target/linux/sibyte/patches/100-honuor_config_cmdline.patch | |
parent | 0cfd25119d1554d24e99b29a2d21b026a0e14c0e (diff) | |
download | mtk-20170518-c7d10f043ff6e8b63c7266f99ff0aa0a101f4365.zip mtk-20170518-c7d10f043ff6e8b63c7266f99ff0aa0a101f4365.tar.gz mtk-20170518-c7d10f043ff6e8b63c7266f99ff0aa0a101f4365.tar.bz2 |
upgrade to 2.6.32.8
SVN-Revision: 19694
Diffstat (limited to 'target/linux/sibyte/patches/100-honuor_config_cmdline.patch')
-rw-r--r-- | target/linux/sibyte/patches/100-honuor_config_cmdline.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/target/linux/sibyte/patches/100-honuor_config_cmdline.patch b/target/linux/sibyte/patches/100-honuor_config_cmdline.patch deleted file mode 100644 index 1c3545f..0000000 --- a/target/linux/sibyte/patches/100-honuor_config_cmdline.patch +++ /dev/null @@ -1,19 +0,0 @@ -The SiByte platform code doesn't honor the CONFIG_CMDLINE kernel -option. This patch fixes this issue. - -Signed-off-by: Imre Kaloz <kaloz@openwrt.org> - ---- a/arch/mips/sibyte/common/cfe.c -+++ b/arch/mips/sibyte/common/cfe.c -@@ -293,7 +293,11 @@ void __init prom_init(void) - * It's OK for direct boot to not provide a - * command line - */ -+#ifdef CONFIG_CMDLINE -+ strlcpy(arcs_cmdline, CONFIG_CMDLINE, COMMAND_LINE_SIZE); -+#else - strcpy(arcs_cmdline, "root=/dev/ram0 "); -+#endif - } else { - /* The loader should have set the command line */ - /* too early for panic to do any good */ |