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-alpha/current.h | |
parent | 7206675c40394c78a90e74812bbdbf8cf3cca1be (diff) |
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/asm-alpha/current.h')
-rw-r--r-- | include/asm-alpha/current.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-alpha/current.h b/include/asm-alpha/current.h new file mode 100644 index 000000000..56d12724b --- /dev/null +++ b/include/asm-alpha/current.h @@ -0,0 +1,12 @@ +#ifndef _ALPHA_CURRENT_H +#define _ALPHA_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]; + +register struct task_struct *current __asm__("$8"); + +#endif /* !(_ALPHA_CURRENT_H) */ |