sparc64: take fprs_write() and friends to start_thread()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2012-09-26 17:44:24 -04:00
parent 1918c7f548
commit 5230429ab1
3 changed files with 9 additions and 13 deletions
-7
View File
@@ -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;
}