Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifdef __KERNEL__ |
2 | #ifndef _PPC_CURRENT_H | ||||
3 | #define _PPC_CURRENT_H | ||||
4 | |||||
5 | /* | ||||
6 | * We keep `current' in r2 for speed. | ||||
7 | */ | ||||
8 | register struct task_struct *current asm ("r2"); | ||||
9 | |||||
10 | #endif /* !(_PPC_CURRENT_H) */ | ||||
11 | #endif /* __KERNEL__ */ |