aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/process.c5
-rw-r--r--arch/powerpc/kernel/sys_ppc32.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index 4846bf543a8c..7c8e3da23810 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -862,11 +862,6 @@ int sys_execve(unsigned long a0, unsigned long a1, unsigned long a2,
862 flush_spe_to_thread(current); 862 flush_spe_to_thread(current);
863 error = do_execve(filename, (char __user * __user *) a1, 863 error = do_execve(filename, (char __user * __user *) a1,
864 (char __user * __user *) a2, regs); 864 (char __user * __user *) a2, regs);
865 if (error == 0) {
866 task_lock(current);
867 current->ptrace &= ~PT_DTRACE;
868 task_unlock(current);
869 }
870 putname(filename); 865 putname(filename);
871out: 866out:
872 return error; 867 return error;
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c
index 4a4f5c6b560b..9c3371e6958e 100644
--- a/arch/powerpc/kernel/sys_ppc32.c
+++ b/arch/powerpc/kernel/sys_ppc32.c
@@ -368,11 +368,6 @@ long compat_sys_execve(unsigned long a0, unsigned long a1, unsigned long a2,
368 368
369 error = compat_do_execve(filename, compat_ptr(a1), compat_ptr(a2), regs); 369 error = compat_do_execve(filename, compat_ptr(a1), compat_ptr(a2), regs);
370 370
371 if (error == 0) {
372 task_lock(current);
373 current->ptrace &= ~PT_DTRACE;
374 task_unlock(current);
375 }
376 putname(filename); 371 putname(filename);
377 372
378out: 373out: