diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1997-08-06 19:14:48 +0000 |
---|---|---|
committer | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1997-08-06 19:14:48 +0000 |
commit | e2819e52a162873ff5061de81bb749831bdb5de9 (patch) | |
tree | 6067ea700202750ba335a423696f2972700e5f76 /include/asm-ppc/current.h | |
parent | 17a005074429bbf143e40401f405ae4363e56828 (diff) |
Merge to 2.1.38.
IMPORTANT NOTE: I could not figure out what information is the
one that should be used for the following files (ie, those
that were in our tree, or those that came from Linus' patch),
please, check these:
include/asm-mips/jazz.h
include/asm-mips/jazzdma.h
include/asm-mips/ioctls.h
Diffstat (limited to 'include/asm-ppc/current.h')
-rw-r--r-- | include/asm-ppc/current.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/asm-ppc/current.h b/include/asm-ppc/current.h index d815aaad3..d7a0a9215 100644 --- a/include/asm-ppc/current.h +++ b/include/asm-ppc/current.h @@ -1,12 +1,10 @@ #ifndef _PPC_CURRENT_H #define _PPC_CURRENT_H -/* Some architectures may want to do something "clever" here since - * this is the most frequently accessed piece of data in the entire - * kernel. For an example, see the Sparc implementation where an - * entire register is hard locked to contain the value of current. - */ -extern struct task_struct *current_set[NR_CPUS]; -#define current (current_set[smp_processor_id()]) /* Current on this processor */ +#include <linux/config.h> + +extern struct task_struct *current_set[1]; + +register struct task_struct *current asm("r2"); #endif /* !(_PPC_CURRENT_H) */ |