-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Neuling
authored and
Benjamin Herrenschmidt
committed
Feb 15, 2013
1 parent
7c8d133
commit 1f05e06
Showing
5 changed files
with
412 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: afc07701ced6463786d09a3b9baf894c1397e991 | ||
refs/heads/master: 98ae22e15b430bfed5def01ac1a88ec9396284c8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Transactional memory support routines to reclaim and recheckpoint | ||
* transactional process state. | ||
* | ||
* Copyright 2012 Matt Evans & Michael Neuling, IBM Corporation. | ||
*/ | ||
|
||
#ifdef CONFIG_PPC_TRANSACTIONAL_MEM | ||
extern void do_load_up_transact_fpu(struct thread_struct *thread); | ||
extern void do_load_up_transact_altivec(struct thread_struct *thread); | ||
#endif | ||
|
||
extern void tm_enable(void); | ||
extern void tm_reclaim(struct thread_struct *thread, | ||
unsigned long orig_msr, uint8_t cause); | ||
extern void tm_recheckpoint(struct thread_struct *thread, | ||
unsigned long orig_msr); | ||
extern void tm_abort(uint8_t cause); | ||
extern void tm_save_sprs(struct thread_struct *thread); | ||
extern void tm_restore_sprs(struct thread_struct *thread); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.