projects/linux·commit cccf2508

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

cccf2508 · Adrian Bunk <[email protected]> · 2005-05-07 01:28:45 +02:00

I somehow missed that there is external usage of rd_size on some
architectures.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
cccf25087f1cb24344b2140ca319b4afe4cf79a8
Parents
07342d62

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/block/rd.cmodified+1−1View file

drivers/block/rd.c

View file
diff --git a/drivers/block/rd.c b/drivers/block/rd.c
index f8a8b68..145c1fb 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