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

Next file: linux/drivers/block/ide-tape.c
Previous file: linux/drivers/block/cmd640.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.47/linux/drivers/block/genhd.c linux/drivers/block/genhd.c
@@ -30,7 +30,6 @@
 static int current_minor = 0;
 extern int *blk_size[];
 extern void rd_load(void);
-extern int ramdisk_size;
 
 extern int chr_dev_init(void);
 extern int blk_dev_init(void);
@@ -559,6 +558,5 @@
 		nr += p->nr_real;
 	}
 
-	if (ramdisk_size)
-		rd_load();
+	rd_load();
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this