Commit b9ee5fc8 authored by Tiwei Bie's avatar Tiwei Bie Committed by Johannes Berg
Browse files

um: Do not propagate initrd parameter to kernel



This parameter is UML specific. It specifies the name of the file
containing the initrd image, which is unknown to kernel.

Signed-off-by: default avatarTiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20241011040441.1586345-10-tiwei.btw@antgroup.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 3f48113d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ int __init read_initrd(void)

static int __init uml_initrd_setup(char *line, int *add)
{
	*add = 0;
	initrd = line;
	return 0;
}