summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.33.3/startup.patch
blob: 1e50e631280cc97966dd8d6c224b9a3fc7e5f01e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -Nur linux-2.6.32.orig/init/main.c linux-2.6.32/init/main.c
--- linux-2.6.32.orig/init/main.c	2009-12-03 04:51:21.000000000 +0100
+++ linux-2.6.32/init/main.c	2010-01-31 11:01:41.154334301 +0100
@@ -814,6 +814,8 @@
 	if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
 		printk(KERN_WARNING "Warning: unable to open an initial console.\n");
 
+	printk(KERN_WARNING "Starting Linux (build with OpenADK).\n");
+
 	(void) sys_dup(0);
 	(void) sys_dup(0);
 
@@ -836,6 +838,7 @@
 		printk(KERN_WARNING "Failed to execute %s.  Attempting "
 					"defaults...\n", execute_command);
 	}
+	run_init_process("/init");
 	run_init_process("/sbin/init");
 	run_init_process("/etc/init");
 	run_init_process("/bin/init");