From b63bddaf5358e444c87ba1d86808cd4ee784fa01 Mon Sep 17 00:00:00 2001
From: florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 24 Apr 2009 12:30:31 +0000
Subject: [PATCH] [rdc] 2.6.27 also needs to hack the command line passed to
 the kernel

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15381 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 .../linux/rdc/patches-2.6.27/002-cmdline_setup.patch   | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 target/linux/rdc/patches-2.6.27/002-cmdline_setup.patch

diff --git a/target/linux/rdc/patches-2.6.27/002-cmdline_setup.patch b/target/linux/rdc/patches-2.6.27/002-cmdline_setup.patch
new file mode 100644
index 000000000..ee36576d2
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.27/002-cmdline_setup.patch
@@ -0,0 +1,10 @@
+--- a/arch/x86/kernel/setup.c	2009-04-24 11:37:41.000000000 +0200
++++ b/arch/x86/kernel/setup.c	2009-04-24 11:38:43.000000000 +0200
+@@ -701,6 +701,7 @@
+ 	bss_resource.start = virt_to_phys(&__bss_start);
+ 	bss_resource.end = virt_to_phys(&__bss_stop)-1;
+ 
++	strcat(boot_command_line, " init=/etc/preinit console=ttyS0,38400");
+ 	strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);
+ 	*cmdline_p = command_line;
+ 
-- 
2.20.1