diff options
| author | Askar Safin <safinaskar@gmail.com> | 2025-11-19 22:24:06 +0000 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-01-12 17:22:22 +0100 |
| commit | c350a65b566b527874b7ace5d904c57c107fae4f (patch) | |
| tree | 96e792ff648df87b318e8fcaed6106c1d91e68f9 /include/linux | |
| parent | 7f3b33668595ee48722df86831a1df4ee1192269 (diff) | |
initrd: remove deprecated code path (linuxrc)
Remove linuxrc initrd code path, which was deprecated in 2020.
Initramfs and (non-initial) RAM disks (i. e. brd) still work.
Both built-in and bootloader-supplied initramfs still work.
Non-linuxrc initrd code path (i. e. using /dev/ram as final root
filesystem) still works, but I put deprecation message into it.
Also I deprecate command line parameters "noinitrd" and "ramdisk_start=".
Signed-off-by: Askar Safin <safinaskar@gmail.com>
Link: https://patch.msgid.link/20251119222407.3333257-3-safinaskar@gmail.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/initrd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/initrd.h b/include/linux/initrd.h index f1a1f4c92ded..7e5d26c8136f 100644 --- a/include/linux/initrd.h +++ b/include/linux/initrd.h @@ -3,8 +3,6 @@ #ifndef __LINUX_INITRD_H #define __LINUX_INITRD_H -#define INITRD_MINOR 250 /* shouldn't collide with /dev/ram* too soon ... */ - /* starting block # of image */ extern int rd_image_start; |
