]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - init/do_mounts_initrd.c
initrd: mark initrd support as deprecated
[thirdparty/linux.git] / init / do_mounts_initrd.c
index 57ad5b2da8f5f5e5729826c0789fd36e627d9c31..e08669187d63be46a190a5957f8cea4f87f83765 100644 (file)
@@ -75,6 +75,8 @@ static void __init handle_initrd(void)
        extern char *envp_init[];
        int error;
 
+       pr_warn("using deprecated initrd support, will be removed in 2021.\n");
+
        real_root_dev = new_encode_dev(ROOT_DEV);
        create_dev("/dev/root.old", Root_RAM0);
        /* mount initrd on rootfs' /root */