projects
/
linux-2.6
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
[MIPS] Comment fix
[linux-2.6]
/
include
/
asm-i386
/
current.h
1
#ifndef _I386_CURRENT_H
2
#define _I386_CURRENT_H
3
4
#include <asm/pda.h>
5
#include <linux/compiler.h>
6
7
struct task_struct;
8
9
static __always_inline struct task_struct *get_current(void)
10
{
11
return read_pda(pcurrent);
12
}
13
14
#define current get_current()
15
16
#endif /* !(_I386_CURRENT_H) */