[GFS2] GFS2: chmod hung - fix race in thread creation
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.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) */