X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=init%2Fdo_mounts_initrd.c;h=2cfd7cb36e7963bee6987c826c39a3411459666d;hb=c4366889dda8110247be59ca41fddb82951a8c26;hp=a06f037fa000a932d9de7b6f8dee909e5ce01720;hpb=c0bc8721b8d0380ec69fa97578c91201201b05a9;p=cascardo%2Flinux.git diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index a06f037fa000..2cfd7cb36e79 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c @@ -1,4 +1,3 @@ -#define __KERNEL_SYSCALLS__ #include #include #include @@ -7,6 +6,7 @@ #include #include #include +#include #include "do_mounts.h" @@ -35,7 +35,7 @@ static int __init do_linuxrc(void * shell) (void) sys_open("/dev/console",O_RDWR,0); (void) sys_dup(0); (void) sys_dup(0); - return execve(shell, argv, envp_init); + return kernel_execve(shell, argv, envp_init); } static void __init handle_initrd(void)