Linux Audio

Check our new training course

Loading...
v6.9.4
 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
 9#include <uapi/asm/tm.h>
10
11#ifndef __ASSEMBLY__
12
 
 
 
 
 
 
13extern void tm_reclaim(struct thread_struct *thread,
14		       uint8_t cause);
15extern void tm_reclaim_current(uint8_t cause);
16extern void tm_recheckpoint(struct thread_struct *thread);
 
 
17extern void tm_save_sprs(struct thread_struct *thread);
18extern void tm_restore_sprs(struct thread_struct *thread);
19
20extern bool tm_suspend_disabled;
21
22#endif /* __ASSEMBLY__ */
v3.15
 
 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#ifndef __ASSEMBLY__
11
12#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
13extern void do_load_up_transact_fpu(struct thread_struct *thread);
14extern void do_load_up_transact_altivec(struct thread_struct *thread);
15#endif
16
17extern void tm_enable(void);
18extern void tm_reclaim(struct thread_struct *thread,
19		       unsigned long orig_msr, uint8_t cause);
20extern void tm_reclaim_current(uint8_t cause);
21extern void tm_recheckpoint(struct thread_struct *thread,
22			    unsigned long orig_msr);
23extern void tm_abort(uint8_t cause);
24extern void tm_save_sprs(struct thread_struct *thread);
25extern void tm_restore_sprs(struct thread_struct *thread);
 
 
26
27#endif /* __ASSEMBLY__ */