diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2009-06-10 15:57:08 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-06-10 17:07:15 -0400 |
commit | 1adbee50fd6fce5af4feb34d2db93cfe4d2066a4 (patch) | |
tree | 77a6a68fa675da7d0722c1239513e9c4b27d1732 /drivers/block | |
parent | 0e0c62123b517d2b3c26922342c0cc5bb63a93f8 (diff) |
ramdisk: remove long-deprecated "ramdisk=" boot-time parameter
The "ramdisk" parameter was removed from the defunct rd.c file quite some
time ago, in favour of the more specific "ramdisk_size" parameter so, for
consistency, the same should be done here.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Acked-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/brd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/block/brd.c b/drivers/block/brd.c index 5f7e64ba87e..4bf8705b3ac 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c | |||
@@ -407,12 +407,7 @@ static int __init ramdisk_size(char *str) | |||
407 | rd_size = simple_strtol(str, NULL, 0); | 407 | rd_size = simple_strtol(str, NULL, 0); |
408 | return 1; | 408 | return 1; |
409 | } | 409 | } |
410 | static int __init ramdisk_size2(char *str) | 410 | __setup("ramdisk_size=", ramdisk_size); |
411 | { | ||
412 | return ramdisk_size(str); | ||
413 | } | ||
414 | __setup("ramdisk=", ramdisk_size); | ||
415 | __setup("ramdisk_size=", ramdisk_size2); | ||
416 | #endif | 411 | #endif |
417 | 412 | ||
418 | /* | 413 | /* |