From 64b3122df48b81a40366a11f299ab819138c96e8 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 27 Dec 2012 11:52:32 -0500 Subject: mips: take the "zero newsp means inherit the parent's one" to copy_thread() Signed-off-by: Al Viro --- arch/mips/kernel/linux32.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/mips/kernel/linux32.c') diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c index 498a7ec656d8..9df3e330c37c 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 -- cgit v1.2.3-55-g7522