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: Tiwei Bie <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20241011040441.1586345-10-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>pull/1084/merge
parent
3f48113df3
commit
b9ee5fc8f4
|
|
@ -34,6 +34,7 @@ int __init read_initrd(void)
|
||||||
|
|
||||||
static int __init uml_initrd_setup(char *line, int *add)
|
static int __init uml_initrd_setup(char *line, int *add)
|
||||||
{
|
{
|
||||||
|
*add = 0;
|
||||||
initrd = line;
|
initrd = line;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue