1 #ifndef __ASM_SH_CURRENT_H
2 #define __ASM_SH_CURRENT_H
5 * Copyright (C) 1999 Niibe Yutaka
11 static __inline__
struct task_struct
* get_current(void)
13 struct task_struct
*current
;
15 __asm__("stc r4_bank,%0\n\t"
22 #define current get_current()
24 #endif /* __ASM_SH_CURRENT_H */