Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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>

authored by

Adrian Bunk and committed by
Linus Torvalds
cccf2508 07342d62

+1 -1
+1 -1
drivers/block/rd.c
··· 74 74 * architecture-specific setup routine (from the stored boot sector 75 75 * information). 76 76 */ 77 - static int rd_size = CONFIG_BLK_DEV_RAM_SIZE; /* Size of the RAM disks */ 77 + int rd_size = CONFIG_BLK_DEV_RAM_SIZE; /* Size of the RAM disks */ 78 78 /* 79 79 * It would be very desirable to have a soft-blocksize (that in the case 80 80 * of the ramdisk driver is also the hardblocksize ;) of PAGE_SIZE because