summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-06 15:54:39 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-30 08:22:47 +0200
commitf0ea68f1390ca11aae9e08a042c6dba5bc48eea2 (patch)
tree2b068f93e9ac1ba74308bda39c89e9992d2b7e4f /init
parentbef173299613404f55b11180d9a865861637f31d (diff)
downloadlinux-f0ea68f1390ca11aae9e08a042c6dba5bc48eea2.tar.bz2
initrd: mark init_linuxrc as __init
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/do_mounts_initrd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c
index e4f88e9e1c08..57ad5b2da8f5 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();