blob: 7859d864f2c24cc3b7e664dc424f469229a3dbe0 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_M32R_CURRENT_H
2#define _ASM_M32R_CURRENT_H
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#include <linux/thread_info.h>
5
6struct task_struct;
7
8static __inline__ struct task_struct *get_current(void)
9{
10 return current_thread_info()->task;
11}
12
13#define current (get_current())
14
15#endif /* _ASM_M32R_CURRENT_H */