diff options
Diffstat (limited to 'arch/sparc/kernel/process_64.c')
-rw-r--r-- | arch/sparc/kernel/process_64.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sparc/kernel/process_64.c b/arch/sparc/kernel/process_64.c index e37512319296..55aa68da213b 100644 --- a/arch/sparc/kernel/process_64.c +++ b/arch/sparc/kernel/process_64.c | |||
@@ -692,12 +692,6 @@ asmlinkage int sparc_execve(struct pt_regs *regs) | |||
692 | (const char __user *const __user *) | 692 | (const char __user *const __user *) |
693 | regs->u_regs[base + UREG_I2], regs); | 693 | regs->u_regs[base + UREG_I2], regs); |
694 | putname(filename); | 694 | putname(filename); |
695 | if (!error) { | ||
696 | fprs_write(0); | ||
697 | current_thread_info()->xfsr[0] = 0; | ||
698 | current_thread_info()->fpsaved[0] = 0; | ||
699 | regs->tstate &= ~TSTATE_PEF; | ||
700 | } | ||
701 | out: | 695 | out: |
702 | return error; | 696 | return error; |
703 | } | 697 | } |