summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/bootx.h
diff options
context:
space:
mode:
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>2012-08-23 23:27:09 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-05 07:19:36 +0200
commit41ab5266c3622354353433618edb92ab278025fa (patch)
tree5e1313a104ae877a174a88a2c93eb010f1bd5861 /arch/powerpc/include/asm/bootx.h
parentpowerpc: Consolidate {k,u}probe definitions (diff)
downloadlinux-41ab5266c3622354353433618edb92ab278025fa.tar.xz
linux-41ab5266c3622354353433618edb92ab278025fa.zip
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>
Diffstat (limited to 'arch/powerpc/include/asm/bootx.h')
0 files changed, 0 insertions, 0 deletions