Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13693
b: refs/heads/master
c: 584224e
h: refs/heads/master
i:
  13691: 7b0988a
v: v3
  • Loading branch information
David Gibson authored and Paul Mackerras committed Nov 10, 2005
1 parent 705acf8 commit f1fa584
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c5ff700116a56a870ef40cc4ac6f19bf2530b466
refs/heads/master: 584224e4095d8abcf2bef38efacc291be9a44c20
27 changes: 27 additions & 0 deletions trunk/include/asm-powerpc/current.h
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 */
11 changes: 0 additions & 11 deletions trunk/include/asm-ppc/current.h

This file was deleted.

16 changes: 0 additions & 16 deletions trunk/include/asm-ppc64/current.h

This file was deleted.

0 comments on commit f1fa584

Please sign in to comment.