patch-2.2.16 linux/drivers/block/rd.c

Next file: linux/drivers/block/trm290.c
Previous file: linux/drivers/block/pdc4030.c
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/drivers/block/rd.c linux/drivers/block/rd.c
@@ -112,11 +112,7 @@
  * architecture-specific setup routine (from the stored boot sector
  * information). 
  */
-#ifdef CONFIG_ARCH_S390
-int rd_size = 8192;		/* Size of the RAM disks */
-#else
-int rd_size = 4096;		/* Size of the RAM disks */
-#endif
+int rd_size = CONFIG_BLK_DEV_RAM_SIZE;	/* Size of the RAM disks */
 
 #ifndef MODULE
 int rd_doload = 0;		/* 1 = load RAM disk, 0 = don't load */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)