Skip to content

Commit

Permalink
[PATCH] drivers/block/rd.c: rd_size shouldn't be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed May 6, 2005
1 parent 07342d6 commit cccf250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/rd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cccf250

Please sign in to comment.