]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blob - include/asm-ppc/current.h
Linux-2.6.12-rc2
[sojka/nv-tegra/linux-3.10.git] / include / asm-ppc / current.h
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__ */