]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/powerpc/include/asm/tm.h
powerpc: Always save/restore checkpointed regs during treclaim/trecheckpoint
[mirror_ubuntu-eoan-kernel.git] / arch / powerpc / include / asm / tm.h
1 /*
2 * Transactional memory support routines to reclaim and recheckpoint
3 * transactional process state.
4 *
5 * Copyright 2012 Matt Evans & Michael Neuling, IBM Corporation.
6 */
7
8 #include <uapi/asm/tm.h>
9
10 #ifndef __ASSEMBLY__
11
12 extern void tm_enable(void);
13 extern void tm_reclaim(struct thread_struct *thread,
14 uint8_t cause);
15 extern void tm_reclaim_current(uint8_t cause);
16 extern void tm_recheckpoint(struct thread_struct *thread);
17 extern void tm_abort(uint8_t cause);
18 extern void tm_save_sprs(struct thread_struct *thread);
19 extern void tm_restore_sprs(struct thread_struct *thread);
20
21 extern bool tm_suspend_disabled;
22
23 #endif /* __ASSEMBLY__ */