swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: 82d6897fefca6206bca7153805b4c5359ce97fc4 authored by Linus Torvalds on 15 July 2006, 21:53:08 UTC
Linux 2.6.18-rc2
Tip revision: 82d6897
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