summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/tm.h
diff options
context:
space:
mode:
authorMichael Neuling2013-05-26 20:30:56 +0200
committerBenjamin Herrenschmidt2013-06-01 00:29:23 +0200
commitb75c100ef24894bd2c8b52e123bcc5f191c5d9fd (patch)
treeec15563f8fb0aeb0f8dc97066a06c9261ce0c94f /arch/powerpc/include/asm/tm.h
parentpowerpc/tm: Abort on emulation and alignment faults (diff)
downloadkernel-qcow2-linux-b75c100ef24894bd2c8b52e123bcc5f191c5d9fd.tar.gz
kernel-qcow2-linux-b75c100ef24894bd2c8b52e123bcc5f191c5d9fd.tar.xz
kernel-qcow2-linux-b75c100ef24894bd2c8b52e123bcc5f191c5d9fd.zip
powerpc/tm: Move TM abort cause codes to uapi
These cause codes are usable by userspace, so let's export to uapi. Signed-off-by: Michael Neuling <mikey@neuling.org> Cc: <stable@vger.kernel.org> # v3.9 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/tm.h')
-rw-r--r--arch/powerpc/include/asm/tm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/tm.h b/arch/powerpc/include/asm/tm.h
index 4b4449abf3f8..9dfbc34bdbf5 100644
--- a/arch/powerpc/include/asm/tm.h
+++ b/arch/powerpc/include/asm/tm.h
@@ -5,6 +5,8 @@
* Copyright 2012 Matt Evans & Michael Neuling, IBM Corporation.
*/
+#include <uapi/asm/tm.h>
+
#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
extern void do_load_up_transact_fpu(struct thread_struct *thread);
extern void do_load_up_transact_altivec(struct thread_struct *thread);