projects
/
firefly-linux-kernel-4.4.55.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ into merge_linus
[firefly-linux-kernel-4.4.55.git]
/
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) */