Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: a6360dd37e1a144ed11e6548371bade559a1e4df authored by Linus Torvalds on 12 April 2011, 00:21:51 UTC
Linux 2.6.39-rc3
Tip revision: a6360dd
current.h
#ifndef _PARISC_CURRENT_H
#define _PARISC_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 /* !(_PARISC_CURRENT_H) */
back to top