瀏覽代碼

[PATCH] drivers/block/rd.c: rd_size shouldn't be static

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>
Adrian Bunk 20 年之前
父節點
當前提交
cccf25087f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/block/rd.c

+ 1 - 1
drivers/block/rd.c

@@ -74,7 +74,7 @@ static struct request_queue *rd_queue[CONFIG_BLK_DEV_RAM_COUNT];
  * architecture-specific setup routine (from the stored boot sector
  * architecture-specific setup routine (from the stored boot sector
  * information).
  * 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
  * 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
  * of the ramdisk driver is also the hardblocksize ;) of PAGE_SIZE because