aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/rd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/rd.c')
-rw-r--r--drivers/block/rd.c7
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}
507static int __init ramdisk_size2(char *str) /* kludge */
508{
509 return ramdisk_size(str);
510}
511static int __init ramdisk_blocksize(char *str) 507static 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