]> err.no Git - linux-2.6/commit
[IA64] signal: remove redundant code in setup_sigcontext()
authorShi Weihua <shiwh@cn.fujitsu.com>
Thu, 13 Dec 2007 23:58:26 +0000 (15:58 -0800)
committerTony Luck <tony.luck@intel.com>
Wed, 19 Dec 2007 00:55:15 +0000 (16:55 -0800)
commit2018df76d276bb4fe97b175bd5db0cdd128dfeb4
treef0b89e3d0be3ef7b6dce37370e7be10da76e952e
parenta3ebdb6c423dff420168a3faf25c76e9e5f59258
[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 <shiwh@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/signal.c