cleanup
[linux-2.4.git] / include / asm-ppc64 / current.h
1 #ifndef _PPC64_CURRENT_H
2 #define _PPC64_CURRENT_H
3 #include <asm/paca.h>
4
5 /*
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version
9  * 2 of the License, or (at your option) any later version.
10  *
11  * current is in the paca (processor data area), which is pointed
12  * to by r13.
13  */
14
15 #define get_current()   ((struct task_struct *)(get_paca()->xCurrent))
16 #define current         get_current()
17
18 #endif /* !(_PPC64_CURRENT_H) */