]>
git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - include/asm-sh/current.h
1 #ifndef __ASM_SH_CURRENT_H
2 #define __ASM_SH_CURRENT_H
5 * Copyright (C) 1999 Niibe Yutaka
9 #include <linux/thread_info.h>
13 static __inline__
struct task_struct
* get_current(void)
15 return current_thread_info()->task
;
18 #define current get_current()
20 #endif /* __ASM_SH_CURRENT_H */