mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Remove final traces of long-deprecated "ramdisk" kernel parm
Since the "ramdisk" kernel parameter has been officially deprecated since at least 2.6.18, might as well finally get rid of it. Signed-off-by: Robert P. J. Day <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1810732e94
commit
fac8b209b1
4 changed files with 3 additions and 19 deletions
|
|
@ -504,17 +504,12 @@ static int __init ramdisk_size(char *str)
|
|||
rd_size = simple_strtol(str,NULL,0);
|
||||
return 1;
|
||||
}
|
||||
static int __init ramdisk_size2(char *str) /* kludge */
|
||||
{
|
||||
return ramdisk_size(str);
|
||||
}
|
||||
static int __init ramdisk_blocksize(char *str)
|
||||
{
|
||||
rd_blocksize = simple_strtol(str,NULL,0);
|
||||
return 1;
|
||||
}
|
||||
__setup("ramdisk=", ramdisk_size);
|
||||
__setup("ramdisk_size=", ramdisk_size2);
|
||||
__setup("ramdisk_size=", ramdisk_size);
|
||||
__setup("ramdisk_blocksize=", ramdisk_blocksize);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue