From: Shi Weihua Date: Thu, 13 Dec 2007 23:58:26 +0000 (-0800) Subject: [IA64] signal: remove redundant code in setup_sigcontext() X-Git-Tag: v2.6.24-rc6~11^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2018df76d276bb4fe97b175bd5db0cdd128dfeb4;p=pandora-kernel.git [IA64] signal: remove redundant code in setup_sigcontext() This patch removes some redundant code in the function setup_sigcontext(). The registers ar.ccv,b7,r14,ar.csd,ar.ssd,r2-r3 and r16-r31 are not restored in restore_sigcontext() when (flags & IA64_SC_FLAG_IN_SYSCALL) is true. So we don't need to zero those variables in setup_sigcontext(). Signed-off-by: Shi Weihua Signed-off-by: Andrew Morton Signed-off-by: Tony Luck --- Reading git-diff-tree failed