mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
mips: take the "zero newsp means inherit the parent's one" to copy_thread()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
974fdb3c20
commit
64b3122df4
3 changed files with 3 additions and 6 deletions
|
@ -289,8 +289,6 @@ _sys32_clone(nabi_no_regargs struct pt_regs regs)
|
|||
|
||||
clone_flags = regs.regs[4];
|
||||
newsp = regs.regs[5];
|
||||
if (!newsp)
|
||||
newsp = regs.regs[29];
|
||||
parent_tidptr = (int __user *) regs.regs[6];
|
||||
|
||||
/* Use __dummy4 instead of getting it off the stack, so that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue