lguest: turn Waker into a thread, not a process
[linux-2.6/mini2440.git] / include / asm-avr32 / current.h
blobc7b0549eab8a08d751e8d49924be5ff95b3a5f7c
1 #ifndef __ASM_AVR32_CURRENT_H
2 #define __ASM_AVR32_CURRENT_H
4 #include <linux/thread_info.h>
6 struct task_struct;
8 inline static struct task_struct * get_current(void)
10 return current_thread_info()->task;
13 #define current get_current()
15 #endif /* __ASM_AVR32_CURRENT_H */