diff options
Diffstat (limited to 'drivers/block/rd.c')
-rw-r--r-- | drivers/block/rd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/block/rd.c b/drivers/block/rd.c index 80e1585b741e..08176d23a46c 100644 --- a/drivers/block/rd.c +++ b/drivers/block/rd.c | |||
@@ -504,17 +504,12 @@ static int __init ramdisk_size(char *str) | |||
504 | rd_size = simple_strtol(str,NULL,0); | 504 | rd_size = simple_strtol(str,NULL,0); |
505 | return 1; | 505 | return 1; |
506 | } | 506 | } |
507 | static int __init ramdisk_size2(char *str) /* kludge */ | ||
508 | { | ||
509 | return ramdisk_size(str); | ||
510 | } | ||
511 | static int __init ramdisk_blocksize(char *str) | 507 | static int __init ramdisk_blocksize(char *str) |
512 | { | 508 | { |
513 | rd_blocksize = simple_strtol(str,NULL,0); | 509 | rd_blocksize = simple_strtol(str,NULL,0); |
514 | return 1; | 510 | return 1; |
515 | } | 511 | } |
516 | __setup("ramdisk=", ramdisk_size); | 512 | __setup("ramdisk_size=", ramdisk_size); |
517 | __setup("ramdisk_size=", ramdisk_size2); | ||
518 | __setup("ramdisk_blocksize=", ramdisk_blocksize); | 513 | __setup("ramdisk_blocksize=", ramdisk_blocksize); |
519 | #endif | 514 | #endif |
520 | 515 | ||