|
|
| File: [Development] / linux-2.6-xfs / include / asm-m32r / current.h (download)
Revision 1.7, Tue Jan 16 14:53:53 2007 UTC (10 years, 9 months ago) by vapo.longdrop.melbourne.sgi.com
Merge of 2.6.x-xfs-melb:linux:27933a by kenmcd. Merge up to 2.6.20-rc4 |
#ifndef _ASM_M32R_CURRENT_H
#define _ASM_M32R_CURRENT_H
/* $Id: current.h,v 1.7 2007/01/16 14:53:53 vapo.longdrop.melbourne.sgi.com Exp $ */
#include <linux/thread_info.h>
struct task_struct;
static __inline__ struct task_struct *get_current(void)
{
return current_thread_info()->task;
}
#define current (get_current())
#endif /* _ASM_M32R_CURRENT_H */