swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: a38d6181ff27824c79fc7df825164a212eff6a3f authored by Linus Torvalds on 01 July 2007, 19:54:24 UTC
Linux 2.6.22-rc7
Tip revision: a38d618
current.h
#ifndef _ASMARM_CURRENT_H
#define _ASMARM_CURRENT_H

#include <linux/thread_info.h>

static inline struct task_struct *get_current(void) __attribute_const__;

static inline struct task_struct *get_current(void)
{
	return current_thread_info()->task;
}

#define current (get_current())

#endif /* _ASMARM_CURRENT_H */
back to top