repo.or.cz
/
linux-2.6.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cgroup: remove redundant get/put of task struct
[linux-2.6.git]
/
include
/
asm-generic
/
current.h
blob
5e86f6ae7cab64c9c049a581d408ae9c91dd0a4b
1
#ifndef __ASM_GENERIC_CURRENT_H
2
#define __ASM_GENERIC_CURRENT_H
3
4
#include <linux/thread_info.h>
5
6
#define get_current() (current_thread_info()->task)
7
#define current get_current()
8
9
#endif
/* __ASM_GENERIC_CURRENT_H */