mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
12 lines
215 B
C
12 lines
215 B
C
|
#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__ */
|