x86: fix software raid autodetection on boot (patch from #6548 by Pieter "Fate" Hollants)
[openwrt/staging/yousong.git] / target / linux / x86 / patches-2.6.31 / 300-block2mtd_init.patch
index 649bee33a2d124a5b5d34abf60de1cdc2ce8e856..3e6ff602d8a2dfed77c037cc357dfa573b02e000 100644 (file)
 +        }
 +        while (driver_probe_done() != 0)
 +            msleep(100);
-+        md_run_setup();
 +        do_initcalls(__root_initcall_start, __root_initcall_end);
++        md_run_setup();
 +        prepare_namespace();
        }