aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-10-17 02:29:30 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:42:56 -0400
commitfac8b209b1084bc85748bd54e13d00c1262b220f (patch)
treeeae5cd70819f8f3c9b44cfa636051f0f1497266a
parent1810732e94576ae0d04e953ecaba8c7151c9a287 (diff)
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 <rpjday@mindspring.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--Documentation/kernel-parameters.txt4
-rw-r--r--Documentation/m68k/kernel-options.txt4
-rw-r--r--Documentation/ramdisk.txt7
-rw-r--r--drivers/block/rd.c7
4 files changed, 3 insertions, 19 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index eb247997f679..a0ed205e5351 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1473,14 +1473,10 @@ and is between 256 and 4096 characters. It is defined in the file
1473 raid= [HW,RAID] 1473 raid= [HW,RAID]
1474 See Documentation/md.txt. 1474 See Documentation/md.txt.
1475 1475
1476 ramdisk= [RAM] Sizes of RAM disks in kilobytes [deprecated]
1477 See Documentation/ramdisk.txt.
1478
1479 ramdisk_blocksize= [RAM] 1476 ramdisk_blocksize= [RAM]
1480 See Documentation/ramdisk.txt. 1477 See Documentation/ramdisk.txt.
1481 1478
1482 ramdisk_size= [RAM] Sizes of RAM disks in kilobytes 1479 ramdisk_size= [RAM] Sizes of RAM disks in kilobytes
1483 New name for the ramdisk parameter.
1484 See Documentation/ramdisk.txt. 1480 See Documentation/ramdisk.txt.
1485 1481
1486 rcu.blimit= [KNL,BOOT] Set maximum number of finished 1482 rcu.blimit= [KNL,BOOT] Set maximum number of finished
diff --git a/Documentation/m68k/kernel-options.txt b/Documentation/m68k/kernel-options.txt
index 59108cebe163..8a523f6af48a 100644
--- a/Documentation/m68k/kernel-options.txt
+++ b/Documentation/m68k/kernel-options.txt
@@ -192,10 +192,10 @@ Devices possible for Atari:
192 seconds. 192 seconds.
193 193
194 194
1952.6) ramdisk= 1952.6) ramdisk_size=
196------------- 196-------------
197 197
198Syntax: ramdisk=<size> 198Syntax: ramdisk_size=<size>
199 199
200 This option instructs the kernel to set up a ramdisk of the given 200 This option instructs the kernel to set up a ramdisk of the given
201size in KBytes. Do not use this option if the ramdisk contents are 201size in KBytes. Do not use this option if the ramdisk contents are
diff --git a/Documentation/ramdisk.txt b/Documentation/ramdisk.txt
index 33e987df071e..6c820baa19a6 100644
--- a/Documentation/ramdisk.txt
+++ b/Documentation/ramdisk.txt
@@ -31,13 +31,6 @@ To use RAM disk support with your system, run './MAKEDEV ram' from the /dev
31directory. RAM disks are all major number 1, and start with minor number 0 31directory. RAM disks are all major number 1, and start with minor number 0
32for /dev/ram0, etc. If used, modern kernels use /dev/ram0 for an initrd. 32for /dev/ram0, etc. If used, modern kernels use /dev/ram0 for an initrd.
33 33
34The old "ramdisk=<ram_size>" has been changed to "ramdisk_size=<ram_size>" to
35make it clearer. The original "ramdisk=<ram_size>" has been kept around for
36compatibility reasons, but it may be removed in the future.
37There are also config symbols (in the Block drivers config menu) for these
38variables: BLK_DEV_RAM_SIZE defaults to 4096 and BLK_DEV_RAM_BLOCKSIZE
39defaults to 1024.
40
41The new RAM disk also has the ability to load compressed RAM disk images, 34The new RAM disk also has the ability to load compressed RAM disk images,
42allowing one to squeeze more programs onto an average installation or 35allowing one to squeeze more programs onto an average installation or
43rescue floppy disk. 36rescue floppy disk.
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