mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00: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:
parent
bef1732996
commit
f0ea68f139
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ static int __init early_initrd(char *p)
|
||||||
}
|
}
|
||||||
early_param("initrd", early_initrd);
|
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);
|
ksys_unshare(CLONE_FS | CLONE_FILES);
|
||||||
console_on_rootfs();
|
console_on_rootfs();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue