|
|
| File: [Development] / linux-2.6-xfs / arch / arm / include / asm / current.h (download)
Revision 1.1, Fri Oct 3 17:46:45 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Merge up to 2.6.27-rc8 Merge of 2.6.x-xfs-melb:linux:32254b by kenmcd. |
#ifndef _ASMARM_CURRENT_H
#define _ASMARM_CURRENT_H
#include <linux/thread_info.h>
static inline struct task_struct *get_current(void) __attribute_const__;
static inline struct task_struct *get_current(void)
{
return current_thread_info()->task;
}
#define current (get_current())
#endif /* _ASMARM_CURRENT_H */