diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-27 16:52:32 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 23:33:01 (GMT) |
commit | 64b3122df48b81a40366a11f299ab819138c96e8 (patch) | |
tree | 43c187576da8dc406c9edb8e0d3fe4e471032a53 /arch/mips/kernel/linux32.c | |
parent | 974fdb3c20e72e9c0612bc038c968e420d8f9665 (diff) | |
download | linux-64b3122df48b81a40366a11f299ab819138c96e8.tar.xz |
mips: take the "zero newsp means inherit the parent's one" to copy_thread()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/kernel/linux32.c')
-rw-r--r-- | arch/mips/kernel/linux32.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c index 498a7ec..9df3e33 100644 --- a/arch/mips/kernel/linux32.c +++ b/arch/mips/kernel/linux32.c @@ -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 |