mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
initrd: mark init_linuxrc as __init
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user