Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Transactional memory support routines to reclaim and recheckpoint
0004  * transactional process state.
0005  *
0006  * Copyright 2012 Matt Evans & Michael Neuling, IBM Corporation.
0007  */
0008 
0009 #include <uapi/asm/tm.h>
0010 
0011 #ifndef __ASSEMBLY__
0012 
0013 extern void tm_reclaim(struct thread_struct *thread,
0014                uint8_t cause);
0015 extern void tm_reclaim_current(uint8_t cause);
0016 extern void tm_recheckpoint(struct thread_struct *thread);
0017 extern void tm_save_sprs(struct thread_struct *thread);
0018 extern void tm_restore_sprs(struct thread_struct *thread);
0019 
0020 extern bool tm_suspend_disabled;
0021 
0022 #endif /* __ASSEMBLY__ */