mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
sparc64: take fprs_write() and friends to start_thread()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
1918c7f548
commit
5230429ab1
3 changed files with 9 additions and 13 deletions
|
@ -692,12 +692,6 @@ asmlinkage int sparc_execve(struct pt_regs *regs)
|
|||
(const char __user *const __user *)
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue