summaryrefslogtreecommitdiff
path: root/include/asm-ppc/current.h
blob: a6a29de03c458653c81a35124dd7f301085d78e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * BK Id: SCCS/s.current.h 1.5 05/17/01 18:14:24 cort
 */
#ifdef __KERNEL__
#ifndef _PPC_CURRENT_H
#define _PPC_CURRENT_H

/*
 * We keep `current' in r2 for speed.
 */
register struct task_struct *current asm ("r2");

#endif /* !(_PPC_CURRENT_H) */
#endif /* __KERNEL__ */