summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-05-07 01:28:45 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 16:58:18 -0700
commitcccf25087f1cb24344b2140ca319b4afe4cf79a8 (patch)
tree2534980ca5f4043c71d999b74e151c53f6cf8a93 /drivers
parent07342d623b8e1ac9501a36a0da55cbce1117aeaf (diff)
[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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/rd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rd.c b/drivers/block/rd.c
index f8a8b68dced..145c1fbffe0 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