1 #ifndef _PPC64_CURRENT_H
2 #define _PPC64_CURRENT_H
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.
11 * current is in the paca (processor data area), which is pointed
15 #define get_current() ((struct task_struct *)(get_paca()->xCurrent))
16 #define current get_current()
18 #endif /* !(_PPC64_CURRENT_H) */