diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-05-20 19:00:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-05-20 19:00:09 +0200 |
commit | 10668d53167c49eefbbac043db5f1c183ac8f21c (patch) | |
tree | e4d8e1c109c1059603c4100802be0693fb180aec /target/linux/patches/2.6.33.3/startup.patch | |
parent | 8fa64bb300a5063f6f37f9dddfb95588ff3c3cf6 (diff) | |
parent | 896b6bb853f900eaebd56447df16958bf15916db (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/2.6.33.3/startup.patch')
-rw-r--r-- | target/linux/patches/2.6.33.3/startup.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.33.3/startup.patch b/target/linux/patches/2.6.33.3/startup.patch new file mode 100644 index 000000000..1e50e6312 --- /dev/null +++ b/target/linux/patches/2.6.33.3/startup.patch @@ -0,0 +1,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"); |