[PATCH] drivers/block/rd.c: rd_size shouldn't be static
authorAdrian Bunk <bunk@stusta.de>
Fri, 6 May 2005 23:28:45 +0000 (01:28 +0200)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 6 May 2005 23:58:18 +0000 (16:58 -0700)
I somehow missed that there is external usage of rd_size on some
architectures.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/rd.c

index f8a8b68dced013a6d88a5272934a59719b89e461..145c1fbffe0135648992806cf3166fd36fa89832 100644 (file)
@@ -74,7 +74,7 @@ static struct request_queue *rd_queue[CONFIG_BLK_DEV_RAM_COUNT];
  * architecture-specific setup routine (from the stored boot sector
  * information).
  */
-static int rd_size = CONFIG_BLK_DEV_RAM_SIZE;  /* Size of the RAM disks */
+int rd_size = CONFIG_BLK_DEV_RAM_SIZE;         /* Size of the RAM disks */
 /*
  * It would be very desirable to have a soft-blocksize (that in the case
  * of the ramdisk driver is also the hardblocksize ;) of PAGE_SIZE because