Merge branch 'splice-2.6.22' of git://git.kernel.dk/data/git/linux-2.6-block
[linux-2.6/kmemtrace.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 */