-
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
David Gibson
authored and
Paul Mackerras
committed
Nov 10, 2005
1 parent
705acf8
commit f1fa584
Showing
4 changed files
with
28 additions
and
28 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: c5ff700116a56a870ef40cc4ac6f19bf2530b466 | ||
refs/heads/master: 584224e4095d8abcf2bef38efacc291be9a44c20 |
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,27 @@ | ||
#ifndef _ASM_POWERPC_CURRENT_H | ||
#define _ASM_POWERPC_CURRENT_H | ||
|
||
/* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; either version | ||
* 2 of the License, or (at your option) any later version. | ||
*/ | ||
|
||
struct task_struct; | ||
|
||
#ifdef __powerpc64__ | ||
#include <asm/paca.h> | ||
|
||
#define current (get_paca()->__current) | ||
|
||
#else | ||
|
||
/* | ||
* We keep `current' in r2 for speed. | ||
*/ | ||
register struct task_struct *current asm ("r2"); | ||
|
||
#endif | ||
|
||
#endif /* _ASM_POWERPC_CURRENT_H */ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.