diff options
author | Mirko Vogt <mirko@openwrt.org> | 2009-05-10 23:21:54 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2009-05-10 23:21:54 +0000 |
commit | 599564913e69ea848a0c50a9d59789e20a1bd462 (patch) | |
tree | c06a919d0550abbe65c8af467655f567f068978f /target/linux/s3c24xx/patches-2.6.29/002-call-preinit-instead-of-init.patch | |
parent | 37211157f6a68cace04ab28c1adfbd60a8144b0b (diff) | |
download | upstream-599564913e69ea848a0c50a9d59789e20a1bd462.tar.gz upstream-599564913e69ea848a0c50a9d59789e20a1bd462.tar.bz2 upstream-599564913e69ea848a0c50a9d59789e20a1bd462.zip |
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
SVN-Revision: 15764
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"); |