aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r--arch/powerpc/kernel/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index f5a9d2a84fa..e3946769dd8 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -601,6 +601,8 @@ int sys_execve(unsigned long a0, unsigned long a1, unsigned long a2,
601 flush_fp_to_thread(current); 601 flush_fp_to_thread(current);
602 flush_altivec_to_thread(current); 602 flush_altivec_to_thread(current);
603 flush_spe_to_thread(current); 603 flush_spe_to_thread(current);
604 error = do_execve(filename, (char __user * __user *) a1,
605 (char __user * __user *) a2, regs);
604 if (error == 0) { 606 if (error == 0) {
605 task_lock(current); 607 task_lock(current);
606 current->ptrace &= ~PT_DTRACE; 608 current->ptrace &= ~PT_DTRACE;