summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/tm.h
diff options
context:
space:
mode:
authorSimon Guo <wei.guo.simon@gmail.com>2018-05-23 10:01:46 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-24 09:04:02 +0300
commiteacbb218fbbab5923775059f7232a9622dc47b2a (patch)
tree76c0bffc2dfe73c02677fc0d3ded93fb20b20aef /arch/powerpc/include/asm/tm.h
parentab3759b5734544dd1430527c3d89730990cfa4bb (diff)
downloadlinux-eacbb218fbbab5923775059f7232a9622dc47b2a.tar.xz
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/include/asm/tm.h')
-rw-r--r--arch/powerpc/include/asm/tm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/tm.h b/arch/powerpc/include/asm/tm.h
index b1658c97047c..e94f6db5e367 100644
--- a/arch/powerpc/include/asm/tm.h
+++ b/arch/powerpc/include/asm/tm.h
@@ -10,12 +10,10 @@
#ifndef __ASSEMBLY__
-extern void tm_enable(void);
extern void tm_reclaim(struct thread_struct *thread,
uint8_t cause);
extern void tm_reclaim_current(uint8_t cause);
extern void tm_recheckpoint(struct thread_struct *thread);
-extern void tm_abort(uint8_t cause);
extern void tm_save_sprs(struct thread_struct *thread);
extern void tm_restore_sprs(struct thread_struct *thread);