aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2009-01-03 12:24:51 +0000
committerMichael Büsch <mb@bu3sch.de>2009-01-03 12:24:51 +0000
commitc53c88b8b4f38039c93f52ba0405febb9fe91818 (patch)
tree206bf8c70f98d65621eda2a27b94a845bc1e5e97 /target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch
parent625482aef1e35cbdd72f89b8b57318d115612347 (diff)
downloadupstream-c53c88b8b4f38039c93f52ba0405febb9fe91818.tar.gz
upstream-c53c88b8b4f38039c93f52ba0405febb9fe91818.tar.bz2
upstream-c53c88b8b4f38039c93f52ba0405febb9fe91818.zip
moko: Fix 2.6.28 boot.
SVN-Revision: 13833
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch b/target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch
new file mode 100644
index 0000000000..19ecbf96c6
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch
@@ -0,0 +1,12 @@
+Index: linux-2.6.28/init/main.c
+===================================================================
+--- linux-2.6.28.orig/init/main.c 2009-01-03 13:03:03.000000000 +0100
++++ linux-2.6.28/init/main.c 2009-01-03 13:03:14.000000000 +0100
+@@ -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");