Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
[wrt350n-kernel.git] / include / asm-sh / current.h
blob62b63880b3332a4a209039e65b09db8607d80b22
1 #ifndef __ASM_SH_CURRENT_H
2 #define __ASM_SH_CURRENT_H
4 /*
5 * Copyright (C) 1999 Niibe Yutaka
7 */
9 #include <linux/thread_info.h>
11 struct task_struct;
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 */