Revision a8c725045eb2eaa6c28a5493cb193f47a5c4afe4 authored by Linus Torvalds on 05 June 2006, 23:23:02 UTC, committed by Linus Torvalds on 05 June 2006, 23:23:02 UTC
* master.kernel.org:/home/rmk/linux-2.6-serial:
  [SERIAL] typo: buad -> baud
2 parent s 2f9c3c2 + e853534
Raw File
current.h
#ifndef _I386_CURRENT_H
#define _I386_CURRENT_H

#include <linux/thread_info.h>

struct task_struct;

static __always_inline struct task_struct * get_current(void)
{
	return current_thread_info()->task;
}
 
#define current get_current()

#endif /* !(_I386_CURRENT_H) */
back to top