diff options
author | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-10 23:21:54 +0000 |
---|---|---|
committer | mirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-10 23:21:54 +0000 |
commit | aa1c3704f43d0d6a1683856aa042a1aabe50c716 (patch) | |
tree | 0491222d79766dc864bdd884e7f550299cd4e0c1 /target/linux/s3c24xx/patches-2.6.29/002-call-preinit-instead-of-init.patch | |
parent | 9e8570e3c0950ff2ec56bc9f3d1e7d7530993d7d (diff) |
add support for kernel 2.6.29 (rc3) by a patch based on the Openmoko patchset (git rev. f656a97d946a2529630c9770a72c10a24dc397f9) adjusted to work within the OpenWrt environment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15764 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 10 |
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 0000000000..8ab3a5ce32 --- /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"); |