aboutsummaryrefslogtreecommitdiffstats
path: root/init/do_mounts_initrd.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/do_mounts_initrd.c')
-rw-r--r--init/do_mounts_initrd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c
index a06f037fa000..919a80cb322e 100644
--- a/init/do_mounts_initrd.c
+++ b/init/do_mounts_initrd.c
@@ -1,4 +1,3 @@
1#define __KERNEL_SYSCALLS__
2#include <linux/unistd.h> 1#include <linux/unistd.h>
3#include <linux/kernel.h> 2#include <linux/kernel.h>
4#include <linux/fs.h> 3#include <linux/fs.h>
@@ -35,7 +34,7 @@ static int __init do_linuxrc(void * shell)
35 (void) sys_open("/dev/console",O_RDWR,0); 34 (void) sys_open("/dev/console",O_RDWR,0);
36 (void) sys_dup(0); 35 (void) sys_dup(0);
37 (void) sys_dup(0); 36 (void) sys_dup(0);
38 return execve(shell, argv, envp_init); 37 return kernel_execve(shell, argv, envp_init);
39} 38}
40 39
41static void __init handle_initrd(void) 40static void __init handle_initrd(void)