linux/arch/powerpc/include/asm/tm.h
<<
>>
Prefs
   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#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
  11extern void do_load_up_transact_fpu(struct thread_struct *thread);
  12extern void do_load_up_transact_altivec(struct thread_struct *thread);
  13#endif
  14
  15extern void tm_enable(void);
  16extern void tm_reclaim(struct thread_struct *thread,
  17                       unsigned long orig_msr, uint8_t cause);
  18extern void tm_recheckpoint(struct thread_struct *thread,
  19                            unsigned long orig_msr);
  20extern void tm_abort(uint8_t cause);
  21extern void tm_save_sprs(struct thread_struct *thread);
  22extern void tm_restore_sprs(struct thread_struct *thread);
  23