moko: Fix 2.6.28 boot.
[openwrt/svn-archive/archive.git] / target / linux / s3c24xx / patches-2.6.28 / 002-call-preinit-instead-of-init.patch
1 Index: linux-2.6.28/init/main.c
2 ===================================================================
3 --- linux-2.6.28.orig/init/main.c 2009-01-03 13:03:03.000000000 +0100
4 +++ linux-2.6.28/init/main.c 2009-01-03 13:03:14.000000000 +0100
5 @@ -825,6 +825,7 @@ static int noinline init_post(void)
6 printk(KERN_WARNING "Failed to execute %s. Attempting "
7 "defaults...\n", execute_command);
8 }
9 + run_init_process("/etc/preinit");
10 run_init_process("/sbin/init");
11 run_init_process("/etc/init");
12 run_init_process("/bin/init");