linux/arch/powerpc
Ananth N Mavinakayanahalli 41ab5266c3 powerpc: Add trap_nr to thread_struct
Add thread_struct.trap_nr and use it to store the last exception
the thread experienced. In this patch, we populate the field at
various places where we force_sig_info() to the process.

This is also used in uprobes to determine if the probed instruction
caused an exception.

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-09-05 15:19:36 +10:00
..
boot powerpc/85xx: P3041DS - change espi input-clock from 40MHz to 35MHz 2012-07-26 08:09:53 -05:00
configs memcg: rename config variables 2012-07-31 18:42:43 -07:00
include/asm powerpc: Add trap_nr to thread_struct 2012-09-05 15:19:36 +10:00
kernel powerpc: Add trap_nr to thread_struct 2012-09-05 15:19:36 +10:00
kvm powerpc/kvm/book3s_32: Fix MTMSR_EERI macro 2012-07-31 15:21:20 +10:00
lib powerpc: Put the gpr save/restore functions in their own section 2012-07-11 14:19:59 +10:00
math-emu powerpc/math_emu/efp: Look for errata handler when type mismatches 2011-10-06 23:36:47 -05:00
mm powerpc: Add trap_nr to thread_struct 2012-09-05 15:19:36 +10:00
net powerpc: Start using ___PPC_RA/B/S/T where necessary 2012-07-10 19:18:25 +10:00
oprofile powerpc: Rename 64-bit PVR constants to PVR_foo 2012-09-05 15:19:35 +10:00
perf powerpc: Rename 64-bit PVR constants to PVR_foo 2012-09-05 15:19:35 +10:00
platforms powerpc: Remove all includes of <asm/abs_addr.h> 2012-09-05 15:19:33 +10:00
sysdev powerpc/dart: Remove uses of virt_to_abs() and abs_to_virt() 2012-09-05 15:18:44 +10:00
xmon powerpc/xmon: Use cpumask iterator to avoid warning 2012-07-02 14:30:11 +10:00
Kconfig ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION 2012-07-30 17:25:21 -07:00
Kconfig.debug powerpc: IOMMU fault injection 2012-07-10 19:18:59 +10:00
Makefile crypto: nx - move nx build to driver/crypto Makefile 2012-06-27 14:42:00 +08:00
relocs_check.pl powerpc: Process dynamic relocations for kernel 2011-12-20 10:21:08 -05:00