diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-04-04 13:47:26 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-04-04 13:47:26 +0200 |
commit | 8861247ebd50a153bee5e468c4a7cb2068568210 (patch) | |
tree | daa9ee1dbe478162021a5ef1254ebbf166295c6d /target/linux/patches/2.6.33.2/startup.patch | |
parent | ca760844fcd08190b692a674ff387fe15c39a497 (diff) |
remove unused obsolete patches
Diffstat (limited to 'target/linux/patches/2.6.33.2/startup.patch')
-rw-r--r-- | target/linux/patches/2.6.33.2/startup.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.33.2/startup.patch b/target/linux/patches/2.6.33.2/startup.patch new file mode 100644 index 000000000..1e50e6312 --- /dev/null +++ b/target/linux/patches/2.6.33.2/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"); |