Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / powerpc / include / asm / tm.h
blobb1658c97047cb7df371f37f504d6df5106065573
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Transactional memory support routines to reclaim and recheckpoint
4 * transactional process state.
6 * Copyright 2012 Matt Evans & Michael Neuling, IBM Corporation.
7 */
9 #include <uapi/asm/tm.h>
11 #ifndef __ASSEMBLY__
13 extern void tm_enable(void);
14 extern void tm_reclaim(struct thread_struct *thread,
15 uint8_t cause);
16 extern void tm_reclaim_current(uint8_t cause);
17 extern void tm_recheckpoint(struct thread_struct *thread);
18 extern void tm_abort(uint8_t cause);
19 extern void tm_save_sprs(struct thread_struct *thread);
20 extern void tm_restore_sprs(struct thread_struct *thread);
22 extern bool tm_suspend_disabled;
24 #endif /* __ASSEMBLY__ */