aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/process_32.c5
-rw-r--r--arch/sh/kernel/process_64.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c
index eea4cf9d44b6..92d7740faab1 100644
--- a/arch/sh/kernel/process_32.c
+++ b/arch/sh/kernel/process_32.c
@@ -365,11 +365,6 @@ asmlinkage int sys_execve(char __user *ufilename, char __user * __user *uargv,
365 goto out; 365 goto out;
366 366
367 error = do_execve(filename, uargv, uenvp, regs); 367 error = do_execve(filename, uargv, uenvp, regs);
368 if (error == 0) {
369 task_lock(current);
370 current->ptrace &= ~PT_DTRACE;
371 task_unlock(current);
372 }
373 putname(filename); 368 putname(filename);
374out: 369out:
375 return error; 370 return error;
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c
index 44c80770b8c2..24de74214940 100644
--- a/arch/sh/kernel/process_64.c
+++ b/arch/sh/kernel/process_64.c
@@ -524,11 +524,6 @@ asmlinkage int sys_execve(char *ufilename, char **uargv,
524 (char __user * __user *)uargv, 524 (char __user * __user *)uargv,
525 (char __user * __user *)uenvp, 525 (char __user * __user *)uenvp,
526 pregs); 526 pregs);
527 if (error == 0) {
528 task_lock(current);
529 current->ptrace &= ~PT_DTRACE;
530 task_unlock(current);
531 }
532 putname(filename); 527 putname(filename);
533out: 528out:
534 return error; 529 return error;