patch-2.1.85 linux/drivers/block/genhd.c

Next file: linux/drivers/block/md.c
Previous file: linux/drivers/block/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.84/linux/drivers/block/genhd.c linux/drivers/block/genhd.c
@@ -1094,6 +1094,9 @@
 #ifdef CONFIG_PARPORT
 	extern int parport_init(void);
 #endif
+#ifdef CONFIG_MD_BOOT
+        extern void md_setup_drive(void) __init;
+#endif
 	struct gendisk *p;
 	int nr=0;
 
@@ -1123,5 +1126,8 @@
 	else
 #endif
 	rd_load();
+#endif
+#ifdef CONFIG_MD_BOOT
+        md_setup_drive();
 #endif
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov