current.h 215 B

1234567891011
  1. #ifdef __KERNEL__
  2. #ifndef _PPC_CURRENT_H
  3. #define _PPC_CURRENT_H
  4. /*
  5. * We keep `current' in r2 for speed.
  6. */
  7. register struct task_struct *current asm ("r2");
  8. #endif /* !(_PPC_CURRENT_H) */
  9. #endif /* __KERNEL__ */