1 #ifndef _I386_CURRENT_H
2 #define _I386_CURRENT_H
6 static inline struct task_struct
* get_current(void)
8 struct task_struct
*current
;
9 __asm__("andl %%esp,%0; ":"=r" (current
) : "0" (~8191UL));
13 #define current get_current()
15 #endif /* !(_I386_CURRENT_H) */