1 #ifndef _CRIS_CURRENT_H
2 #define _CRIS_CURRENT_H
6 extern inline struct task_struct * get_current(void)
8 struct task_struct *current;
9 __asm__("and.d $sp,%0; ":"=r" (current) : "0" (~8191UL));
13 #define current get_current()
15 #endif /* !(_CRIS_CURRENT_H) */