From: Ananth N Mavinakayanahalli Date: Thu, 23 Aug 2012 21:27:09 +0000 (+0000) Subject: powerpc: Add trap_nr to thread_struct X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~10^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41ab5266c3622354353433618edb92ab278025fa;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed