From: Christoph Hellwig Date: Sat, 6 Jun 2020 13:54:39 +0000 (+0200) Subject: initrd: mark init_linuxrc as __init X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f0ea68f1390ca11aae9e08a042c6dba5bc48eea2;p=linux.git initrd: mark init_linuxrc as __init Signed-off-by: Christoph Hellwig Acked-by: Linus Torvalds --- diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index e4f88e9e1c083..57ad5b2da8f5f 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c @@ -56,7 +56,7 @@ static int __init early_initrd(char *p) } early_param("initrd", early_initrd); -static int init_linuxrc(struct subprocess_info *info, struct cred *new) +static int __init init_linuxrc(struct subprocess_info *info, struct cred *new) { ksys_unshare(CLONE_FS | CLONE_FILES); console_on_rootfs();