summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/current.h
blob: 56d12724b286e46e1bf6ca045087425bc15d7596 (plain)
1
2
3
4
5
6
7
8
9
10
11
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) */