summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-21 23:46:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-21 23:46:22 +0000
commit64016fb476ddbcf3e3de07612c1f6e43982e0527 (patch)
tree312cb8b0a614be74195aa6f5b10b968990bcad7e /target/linux
parent9237420b798a66d285a6728890101eceabdd4db2 (diff)
downloadmtk-20170518-64016fb476ddbcf3e3de07612c1f6e43982e0527.zip
mtk-20170518-64016fb476ddbcf3e3de07612c1f6e43982e0527.tar.gz
mtk-20170518-64016fb476ddbcf3e3de07612c1f6e43982e0527.tar.bz2
x86: fix software raid autodetection on boot (patch from #6548 by Pieter "Fate" Hollants)
SVN-Revision: 19261
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/x86/patches-2.6.30/300-block2mtd_init.patch2
-rw-r--r--target/linux/x86/patches-2.6.31/300-block2mtd_init.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/x86/patches-2.6.30/300-block2mtd_init.patch b/target/linux/x86/patches-2.6.30/300-block2mtd_init.patch
index c09432e..fdfb9d0 100644
--- a/target/linux/x86/patches-2.6.30/300-block2mtd_init.patch
+++ b/target/linux/x86/patches-2.6.30/300-block2mtd_init.patch
@@ -202,8 +202,8 @@
+ }
+ while (driver_probe_done() != 0)
+ msleep(100);
-+ md_run_setup();
+ do_initcalls(__root_initcall_start, __root_initcall_end);
++ md_run_setup();
+ prepare_namespace();
}
diff --git a/target/linux/x86/patches-2.6.31/300-block2mtd_init.patch b/target/linux/x86/patches-2.6.31/300-block2mtd_init.patch
index 649bee3..3e6ff60 100644
--- a/target/linux/x86/patches-2.6.31/300-block2mtd_init.patch
+++ b/target/linux/x86/patches-2.6.31/300-block2mtd_init.patch
@@ -202,8 +202,8 @@
+ }
+ while (driver_probe_done() != 0)
+ msleep(100);
-+ md_run_setup();
+ do_initcalls(__root_initcall_start, __root_initcall_end);
++ md_run_setup();
+ prepare_namespace();
}