summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.29/002-call-preinit-instead-of-init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.29/002-call-preinit-instead-of-init.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.29/002-call-preinit-instead-of-init.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.29/002-call-preinit-instead-of-init.patch b/target/linux/s3c24xx/patches-2.6.29/002-call-preinit-instead-of-init.patch
new file mode 100644
index 000000000..8ab3a5ce3
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.29/002-call-preinit-instead-of-init.patch
@@ -0,0 +1,10 @@
+--- a/init/main.c
++++ b/init/main.c
+@@ -825,6 +825,7 @@ static int noinline init_post(void)
+ printk(KERN_WARNING "Failed to execute %s. Attempting "
+ "defaults...\n", execute_command);
+ }
++ run_init_process("/etc/preinit");
+ run_init_process("/sbin/init");
+ run_init_process("/etc/init");
+ run_init_process("/bin/init");