swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: b6ff50833ad43a8ebd9b16bf53c334f7aaf33c41 authored by Linus Torvalds on 30 July 2006, 06:15:36 UTC
Linux v2.6.18-rc3
Tip revision: b6ff508
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