mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
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>
This commit is contained in:
parent
3f48113df3
commit
b9ee5fc8f4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user