usb gadget: fix fsl_usb2_udc potential OOPS
[wandboard.git] / include / asm-parisc / current.h
blob0fb9338e3bf28df723ca75a29740945dd7e71ccb
1 #ifndef _PARISC_CURRENT_H
2 #define _PARISC_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 /* !(_PARISC_CURRENT_H) */