Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

init: remove deprecated "load_ramdisk" and "prompt_ramdisk" command line parameters

...which do nothing. They were deprecated (in documentation) in
6b99e6e6aa62 ("Documentation/admin-guide: blockdev/ramdisk: remove use of
"rdev"") in 2020 and in kernel messages in c8376994c86c ("initrd: remove
support for multiple floppies") in 2020.

Signed-off-by: Askar Safin <safinaskar@gmail.com>
Link: https://patch.msgid.link/20251119222407.3333257-2-safinaskar@gmail.com
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>

authored by

Askar Safin and committed by
Christian Brauner
7f3b3366 8f0b4cce

+1 -19
-4
Documentation/admin-guide/kernel-parameters.txt
··· 3437 3437 If there are multiple matching configurations changing 3438 3438 the same attribute, the last one is used. 3439 3439 3440 - load_ramdisk= [RAM] [Deprecated] 3441 - 3442 3440 lockd.nlm_grace_period=P [NFS] Assign grace period. 3443 3441 Format: <integer> 3444 3442 ··· 5399 5401 Param: "kvm" - profile VM exits. 5400 5402 Param: <number> - step/bucket size as a power of 2 for 5401 5403 statistical time based profiling. 5402 - 5403 - prompt_ramdisk= [RAM] [Deprecated] 5404 5404 5405 5405 prot_virt= [S390] enable hosting protected virtual machines 5406 5406 isolated from the hypervisor (if hardware supports
+1 -1
arch/arm/configs/neponset_defconfig
··· 9 9 CONFIG_ZBOOT_ROM_TEXT=0x80000 10 10 CONFIG_ZBOOT_ROM_BSS=0xc1000000 11 11 CONFIG_ZBOOT_ROM=y 12 - CONFIG_CMDLINE="console=ttySA0,38400n8 cpufreq=221200 rw root=/dev/mtdblock2 mtdparts=sa1100:512K(boot),1M(kernel),2560K(initrd),4M(root) load_ramdisk=1 prompt_ramdisk=0 mem=32M noinitrd initrd=0xc0800000,3M" 12 + CONFIG_CMDLINE="console=ttySA0,38400n8 cpufreq=221200 rw root=/dev/mtdblock2 mtdparts=sa1100:512K(boot),1M(kernel),2560K(initrd),4M(root) mem=32M noinitrd initrd=0xc0800000,3M" 13 13 CONFIG_FPE_NWFPE=y 14 14 CONFIG_PM=y 15 15 CONFIG_MODULES=y
-7
init/do_mounts.c
··· 34 34 35 35 dev_t ROOT_DEV; 36 36 37 - static int __init load_ramdisk(char *str) 38 - { 39 - pr_warn("ignoring the deprecated load_ramdisk= option\n"); 40 - return 1; 41 - } 42 - __setup("load_ramdisk=", load_ramdisk); 43 - 44 37 static int __init readonly(char *str) 45 38 { 46 39 if (*str)
-7
init/do_mounts_rd.c
··· 18 18 static struct file *in_file, *out_file; 19 19 static loff_t in_pos, out_pos; 20 20 21 - static int __init prompt_ramdisk(char *str) 22 - { 23 - pr_warn("ignoring the deprecated prompt_ramdisk= option\n"); 24 - return 1; 25 - } 26 - __setup("prompt_ramdisk=", prompt_ramdisk); 27 - 28 21 int __initdata rd_image_start; /* starting block # of image */ 29 22 30 23 static int __init ramdisk_start_setup(char *str)