tm.h 624 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  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. #include <uapi/asm/tm.h>
  9. #ifndef __ASSEMBLY__
  10. extern void tm_reclaim(struct thread_struct *thread,
  11. uint8_t cause);
  12. extern void tm_reclaim_current(uint8_t cause);
  13. extern void tm_recheckpoint(struct thread_struct *thread);
  14. extern void tm_save_sprs(struct thread_struct *thread);
  15. extern void tm_restore_sprs(struct thread_struct *thread);
  16. extern bool tm_suspend_disabled;
  17. #endif /* __ASSEMBLY__ */