diff options
author | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-01-03 12:24:51 +0000 |
---|---|---|
committer | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-01-03 12:24:51 +0000 |
commit | 68da30977e302ae617c452ecc042fbb12d793a4b (patch) | |
tree | 54a40298f6dfe37d0428d702e718231eebb6b5c0 /target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch | |
parent | 64a1361e5bd4483ff78d32de38badced925da150 (diff) |
moko: Fix 2.6.28 boot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13833 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 12 |
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 000000000..19ecbf96c --- /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"); |