aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
parent9237420b798a66d285a6728890101eceabdd4db2 (diff)
downloadupstream-64016fb476ddbcf3e3de07612c1f6e43982e0527.tar.gz
upstream-64016fb476ddbcf3e3de07612c1f6e43982e0527.tar.bz2
upstream-64016fb476ddbcf3e3de07612c1f6e43982e0527.zip
x86: fix software raid autodetection on boot (patch from #6548 by Pieter "Fate" Hollants)
SVN-Revision: 19261
Diffstat (limited to 'target')
-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 c09432e282..fdfb9d0170 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 649bee33a2..3e6ff602d8 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();
}