[MIPS] SMTC: <asm/smtc_ipi.h> must include <linux/spinlock.h>
[firewire-audio.git] / include / asm-i386 / current.h
blob5252ee0f6d7a9ce0fd4825ce4381051334b55aea
1 #ifndef _I386_CURRENT_H
2 #define _I386_CURRENT_H
4 #include <asm/pda.h>
5 #include <linux/compiler.h>
7 struct task_struct;
9 static __always_inline struct task_struct *get_current(void)
11 return read_pda(pcurrent);
14 #define current get_current()
16 #endif /* !(_I386_CURRENT_H) */