Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
98ae22e1 MN |
2 | /* |
3 | * Transactional memory support routines to reclaim and recheckpoint | |
4 | * transactional process state. | |
5 | * | |
6 | * Copyright 2012 Matt Evans & Michael Neuling, IBM Corporation. | |
7 | */ | |
8 | ||
b75c100e MN |
9 | #include <uapi/asm/tm.h> |
10 | ||
e4e38121 MN |
11 | #ifndef __ASSEMBLY__ |
12 | ||
98ae22e1 | 13 | extern void tm_reclaim(struct thread_struct *thread, |
eb5c3f1c | 14 | uint8_t cause); |
d31626f7 | 15 | extern void tm_reclaim_current(uint8_t cause); |
eb5c3f1c | 16 | extern void tm_recheckpoint(struct thread_struct *thread); |
98ae22e1 MN |
17 | extern void tm_save_sprs(struct thread_struct *thread); |
18 | extern void tm_restore_sprs(struct thread_struct *thread); | |
e4e38121 | 19 | |
54820530 ME |
20 | extern bool tm_suspend_disabled; |
21 | ||
e4e38121 | 22 | #endif /* __ASSEMBLY__ */ |