swh:1:snp:49cd9498d6cccc5e78252c27dcb645bcf7bf0c91
Raw File
Tip revision: 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe authored by Linus Torvalds on 22 July 2011, 02:17:23 UTC
Linux 3.0
Tip revision: 02f8c6a
current.h
#ifndef _ASM_M32R_CURRENT_H
#define _ASM_M32R_CURRENT_H

#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 */
back to top