From: Adrian Bunk Date: Fri, 6 May 2005 23:28:45 +0000 (+0200) Subject: [PATCH] drivers/block/rd.c: rd_size shouldn't be static X-Git-Tag: v2.6.12-rc4~18 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cccf25087f1cb24344b2140ca319b4afe4cf79a8;p=linux-2.6 [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 Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/rd.c b/drivers/block/rd.c index f8a8b68dce..145c1fbffe 100644 --- a/drivers/block/rd.c +++ b/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 * 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