X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=init%2Fdo_mounts_initrd.c;h=2cfd7cb36e7963bee6987c826c39a3411459666d;hb=7752237e9f07b316f81aebdc43f0d7c9a4ba0acf;hp=a06f037fa000a932d9de7b6f8dee909e5ce01720;hpb=0d10e47f9635ecafe5a9dc6e10cb056a87a4daa2;p=powerpc.git diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index a06f037fa0..2cfd7cb36e 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)