Merge remote-tracking branch 'battery/master'
[linux-2.6/next.git] / arch / avr32 / include / asm / 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 */