summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sys_sparc32.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-09-26 23:44:24 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-15 01:26:53 +0200
commit5230429ab1c20c348e17069230c24db8a6b53ca3 (patch)
tree452f1f33451d0e85136cef1c65ba3da654847acd /arch/sparc/kernel/sys_sparc32.c
parentsparc64: switch to generic kernel_thread() (diff)
downloadlinux-5230429ab1c20c348e17069230c24db8a6b53ca3.tar.xz
linux-5230429ab1c20c348e17069230c24db8a6b53ca3.zip
sparc64: take fprs_write() and friends to start_thread()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/kernel/sys_sparc32.c')
-rw-r--r--arch/sparc/kernel/sys_sparc32.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc/kernel/sys_sparc32.c b/arch/sparc/kernel/sys_sparc32.c
index c3239811a1b5..2f116ff46b11 100644
--- a/arch/sparc/kernel/sys_sparc32.c
+++ b/arch/sparc/kernel/sys_sparc32.c
@@ -421,13 +421,6 @@ asmlinkage long sparc32_execve(struct pt_regs *regs)
compat_ptr(regs->u_regs[base + UREG_I2]), regs);
putname(filename);
-
- if (!error) {
- fprs_write(0);
- current_thread_info()->xfsr[0] = 0;
- current_thread_info()->fpsaved[0] = 0;
- regs->tstate &= ~TSTATE_PEF;
- }
out:
return error;
}