From: David S. Miller Date: Thu, 11 Feb 2010 20:29:16 +0000 (-0800) Subject: sparc32: Fix thinko in previous change. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=440ab7ac2d6b735fb278a1ff1674f6716314c6bb;p=openwrt%2Fstaging%2Fblogic.git sparc32: Fix thinko in previous change. Should mask stack with 0xf not "0x15". Noticed by Blue Swirl Signed-off-by: David S. Miller --- diff --git a/arch/sparc/kernel/process_32.c b/arch/sparc/kernel/process_32.c index f23c8fda6503..c49865b30719 100644 --- a/arch/sparc/kernel/process_32.c +++ b/arch/sparc/kernel/process_32.c @@ -526,7 +526,7 @@ int copy_thread(unsigned long clone_flags, unsigned long sp, * Set some valid stack frames to give to the child. */ childstack = (struct sparc_stackf __user *) - (sp & ~0x15UL); + (sp & ~0xfUL); parentstack = (struct sparc_stackf __user *) regs->u_regs[UREG_FP];