[PATCH] xtensa: Fix TIOCGICOUNT macro
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-m32r / current.h
blobc19d927ff22d5bd54ff355af2d0196a18edc8846
1 #ifndef _ASM_M32R_CURRENT_H
2 #define _ASM_M32R_CURRENT_H
4 /* $Id$ */
6 #include <linux/thread_info.h>
8 struct task_struct;
10 static __inline__ struct task_struct *get_current(void)
12 return current_thread_info()->task;
15 #define current (get_current())
17 #endif /* _ASM_M32R_CURRENT_H */