mfd: twl4030 regulator bug fixes
[linux-2.6/mini2440.git] / include / asm-m32r / current.h
blob7859d864f2c24cc3b7e664dc424f469229a3dbe0
1 #ifndef _ASM_M32R_CURRENT_H
2 #define _ASM_M32R_CURRENT_H
4 #include <linux/thread_info.h>
6 struct task_struct;
8 static __inline__ struct task_struct *get_current(void)
10 return current_thread_info()->task;
13 #define current (get_current())
15 #endif /* _ASM_M32R_CURRENT_H */