summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-21 23:46:22 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-21 23:46:22 +0000
commit38d48b38aaa7dc5eb3c7a816876f38b7dab0d850 (patch)
treef80ef3cc780f2964dd3dcd2a0478a46cd93b495e
parent44a35be85c4b8f9c09d0fae724c20f0cfb74c15f (diff)
x86: fix software raid autodetection on boot (patch from #6548 by Pieter "Fate" Hollants)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19261 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 c09432e28..fdfb9d017 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 649bee33a..3e6ff602d 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();
}