x86: fix software raid autodetection on boot (patch from #6548 by Pieter "Fate" Hollants)
authorFelix Fietkau <nbd@openwrt.org>
Thu, 21 Jan 2010 23:46:22 +0000 (23:46 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 21 Jan 2010 23:46:22 +0000 (23:46 +0000)
SVN-Revision: 19261

target/linux/x86/patches-2.6.30/300-block2mtd_init.patch
target/linux/x86/patches-2.6.31/300-block2mtd_init.patch

index c09432e282f147d57d9e6d0bd7fe86a5d74c8910..fdfb9d01708a58763b94a88c5e448dfa2c49e80e 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();
        }
  
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();
        }