X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=init%2Fdo_mounts_initrd.c;h=2cfd7cb36e7963bee6987c826c39a3411459666d;hb=refs%2Fheads%2Fvserver;hp=a06f037fa000a932d9de7b6f8dee909e5ce01720;hpb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;p=linux-2.6.git diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index a06f037fa..2cfd7cb36 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)