summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/current.h
blob: 8cdfc6109cd7564bc6733f0d04ddab5bb4cd9fd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _SPARC64_CURRENT_H
#define _SPARC64_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 /* !(_SPARC64_CURRENT_H) */