Revision 30a2f3c60a84092c8084dfe788b710f8d0768cd4 authored by Linus Torvalds on 13 August 2008, 01:55:39 UTC, committed by Linus Torvalds on 13 August 2008, 01:55:39 UTC
1 parent b0e0c9e
Raw File
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