diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-04-29 21:13:14 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1997-04-29 21:13:14 +0000 |
commit | 19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch) | |
tree | 40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/asm-sparc/current.h | |
parent | 7206675c40394c78a90e74812bbdbf8cf3cca1be (diff) |
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/asm-sparc/current.h')
-rw-r--r-- | include/asm-sparc/current.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-sparc/current.h b/include/asm-sparc/current.h new file mode 100644 index 000000000..254ce5618 --- /dev/null +++ b/include/asm-sparc/current.h @@ -0,0 +1,13 @@ +#ifndef _SPARC_CURRENT_H +#define _SPARC_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. + */ +extern struct task_struct *current_set[NR_CPUS]; + +/* Sparc rules... */ +register struct task_struct *current asm("g6"); + +#endif /* !(_SPARC_CURRENT_H) */ |