diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index e33e09df3cbc..155ac208d581 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -797,7 +797,9 @@ static void __init do_pre_smp_initcalls(void) | |||
797 | static int run_init_process(const char *init_filename) | 797 | static int run_init_process(const char *init_filename) |
798 | { | 798 | { |
799 | argv_init[0] = init_filename; | 799 | argv_init[0] = init_filename; |
800 | return kernel_execve(init_filename, argv_init, envp_init); | 800 | return do_execve(init_filename, |
801 | (const char __user *const __user *)argv_init, | ||
802 | (const char __user *const __user *)envp_init); | ||
801 | } | 803 | } |
802 | 804 | ||
803 | static void __init kernel_init_freeable(void); | 805 | static void __init kernel_init_freeable(void); |