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__ */ 12
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__ */ 12