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
commit8cf8f93092c8a38212c4e496abf5dbf1072174af (patch)
treef80ef3cc780f2964dd3dcd2a0478a46cd93b495e /target
parent2dedf7dcbd82903a3447927ab2764bfe5127fd9a (diff)
downloadupstream-8cf8f93092c8a38212c4e496abf5dbf1072174af.tar.gz
upstream-8cf8f93092c8a38212c4e496abf5dbf1072174af.tar.bz2
upstream-8cf8f93092c8a38212c4e496abf5dbf1072174af.zip
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
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();
}