aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/hash_utils_64.c
diff options
context:
space:
mode:
authorSimon Guo <wei.guo.simon@gmail.com>2018-05-23 15:01:46 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-24 16:04:02 +1000
commiteacbb218fbbab5923775059f7232a9622dc47b2a (patch)
tree76c0bffc2dfe73c02677fc0d3ded93fb20b20aef /arch/powerpc/mm/hash_utils_64.c
parentpowerpc/reg: Add TEXASR related macros (diff)
downloadlinux-dev-eacbb218fbbab5923775059f7232a9622dc47b2a.tar.xz
linux-dev-eacbb218fbbab5923775059f7232a9622dc47b2a.zip
powerpc: Export tm_enable()/tm_disable/tm_abort() APIs
This patch exports tm_enable()/tm_disable/tm_abort() APIs, which will be used for PR KVM transactional memory logic. Signed-off-by: Simon Guo <wei.guo.simon@gmail.com> Reviewed-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/hash_utils_64.c')
-rw-r--r--arch/powerpc/mm/hash_utils_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
index 0bd3790d35df..1bd8b4c1aab8 100644
--- a/arch/powerpc/mm/hash_utils_64.c
+++ b/arch/powerpc/mm/hash_utils_64.c
@@ -64,6 +64,7 @@
#include <asm/trace.h>
#include <asm/ps3.h>
#include <asm/pte-walk.h>
+#include <asm/asm-prototypes.h>
#ifdef DEBUG
#define DBG(fmt...) udbg_printf(fmt)