From: David S. Miller Date: Sun, 27 Apr 2008 21:52:51 +0000 (-0700) Subject: sparc64: Clean up handling of pt_regs trap type encoding. X-Git-Tag: v2.6.26-rc1~714^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90888816ba1bf1c4eff1e7e4220c1afc802f0fd3;p=pandora-kernel.git sparc64: Clean up handling of pt_regs trap type encoding. If we use this from more than one place, it's better to have helpers instead of twiddling magic constants all over. Add pt_regs_trap_type(), pt_regs_clear_trap_type(), and pt_regs_is_syscall(). Use them in do_signal(). Signed-off-by: David S. Miller --- Reading git-diff-tree failed