swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: 55b637c6a003a8c4850b41a2c2fd6942d8a7f530 authored by Linus Torvalds on 19 May 2007, 04:06:17 UTC
Linux v2.6.22-rc2
Tip revision: 55b637c
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