repo.or.cz
/
linux-2.6
/
cjktty.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
myri10ge: make msi configurable at runtime through sysfs
[linux-2.6/cjktty.git]
/
include
/
asm-i386
/
current.h
blob
5252ee0f6d7a9ce0fd4825ce4381051334b55aea
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) */