x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / powerpc / include / asm / tm.h
blob82e06ca3a49b86d1c2a69607bffa83d3459ba74a
1 /*
2 * Transactional memory support routines to reclaim and recheckpoint
3 * transactional process state.
5 * Copyright 2012 Matt Evans & Michael Neuling, IBM Corporation.
6 */
8 #include <uapi/asm/tm.h>
10 #ifndef __ASSEMBLY__
12 extern void tm_enable(void);
13 extern void tm_reclaim(struct thread_struct *thread,
14 unsigned long orig_msr, uint8_t cause);
15 extern void tm_reclaim_current(uint8_t cause);
16 extern void tm_recheckpoint(struct thread_struct *thread,
17 unsigned long orig_msr);
18 extern void tm_abort(uint8_t cause);
19 extern void tm_save_sprs(struct thread_struct *thread);
20 extern void tm_restore_sprs(struct thread_struct *thread);
22 #endif /* __ASSEMBLY__ */