projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: replace percpu_xxx funcs with this_cpu_xxx
[linux-2.6-block.git]
/
arch
/
x86
/
include
/
asm
/
current.h
diff --git
a/arch/x86/include/asm/current.h
b/arch/x86/include/asm/current.h
index 4d447b732d82df76b4c55d77fde42cd4024c2971..9476c04ee6357e79ba0a9c59c8b4001d32c653eb 100644
(file)
--- a/
arch/x86/include/asm/current.h
+++ b/
arch/x86/include/asm/current.h
@@
-11,7
+11,7
@@
DECLARE_PER_CPU(struct task_struct *, current_task);
static __always_inline struct task_struct *get_current(void)
{
- return
per
cpu_read_stable(current_task);
+ return
this_
cpu_read_stable(current_task);
}
#define current get_current()