aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.24/005-cmdline_setup.patch
blob: 934d36d67e95b6121a6776e43cec86f5537e88dd (plain)
1
2
3
4
5
6
7
8
9
10
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -609,6 +609,7 @@ void __init setup_arch(char **cmdline_p)
 		print_memory_map("user");
 	}
 
+	strcat(boot_command_line, " init=/etc/preinit console=ttyS0,38400");
 	strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);
 	*cmdline_p = command_line;