]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/powerpc/include/asm/tm.h
Merge remote-tracking branches 'spi/fix/dw', 'spi/fix/lantiq' and 'spi/fix/pl022...
[mirror_ubuntu-artful-kernel.git] / arch / powerpc / include / asm / tm.h
CommitLineData
98ae22e1
MN
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
b75c100e
MN
8#include <uapi/asm/tm.h>
9
e4e38121
MN
10#ifndef __ASSEMBLY__
11
98ae22e1
MN
12extern void tm_enable(void);
13extern void tm_reclaim(struct thread_struct *thread,
14 unsigned long orig_msr, uint8_t cause);
d31626f7 15extern void tm_reclaim_current(uint8_t cause);
98ae22e1
MN
16extern void tm_recheckpoint(struct thread_struct *thread,
17 unsigned long orig_msr);
18extern void tm_abort(uint8_t cause);
19extern void tm_save_sprs(struct thread_struct *thread);
20extern void tm_restore_sprs(struct thread_struct *thread);
e4e38121
MN
21
22#endif /* __ASSEMBLY__ */