diff options
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/compat_linux.c | 3 | ||||
-rw-r--r-- | arch/s390/kernel/process.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/s390/kernel/compat_linux.c b/arch/s390/kernel/compat_linux.c index 002c70d3cb75..9ab188d67a3d 100644 --- a/arch/s390/kernel/compat_linux.c +++ b/arch/s390/kernel/compat_linux.c | |||
@@ -461,9 +461,6 @@ asmlinkage long sys32_execve(void) | |||
461 | result = rc; | 461 | result = rc; |
462 | goto out_putname; | 462 | goto out_putname; |
463 | } | 463 | } |
464 | task_lock(current); | ||
465 | current->ptrace &= ~PT_DTRACE; | ||
466 | task_unlock(current); | ||
467 | current->thread.fp_regs.fpc=0; | 464 | current->thread.fp_regs.fpc=0; |
468 | asm volatile("sfpc %0,0" : : "d" (0)); | 465 | asm volatile("sfpc %0,0" : : "d" (0)); |
469 | result = regs->gprs[2]; | 466 | result = regs->gprs[2]; |
diff --git a/arch/s390/kernel/process.c b/arch/s390/kernel/process.c index 355f7a30c3f1..5a43f27eec13 100644 --- a/arch/s390/kernel/process.c +++ b/arch/s390/kernel/process.c | |||
@@ -266,9 +266,6 @@ SYSCALL_DEFINE0(vfork) | |||
266 | 266 | ||
267 | asmlinkage void execve_tail(void) | 267 | asmlinkage void execve_tail(void) |
268 | { | 268 | { |
269 | task_lock(current); | ||
270 | current->ptrace &= ~PT_DTRACE; | ||
271 | task_unlock(current); | ||
272 | current->thread.fp_regs.fpc = 0; | 269 | current->thread.fp_regs.fpc = 0; |
273 | if (MACHINE_HAS_IEEE) | 270 | if (MACHINE_HAS_IEEE) |
274 | asm volatile("sfpc %0,%0" : : "d" (0)); | 271 | asm volatile("sfpc %0,%0" : : "d" (0)); |