initrd: mark init_linuxrc as __init
authorChristoph Hellwig <hch@lst.de>
Sat, 6 Jun 2020 13:54:39 +0000 (15:54 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 30 Jul 2020 06:22:47 +0000 (08:22 +0200)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
init/do_mounts_initrd.c

index e4f88e9..57ad5b2 100644 (file)
@@ -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();