diff options
Diffstat (limited to 'arch/x86/include/asm/current.h')
-rw-r--r-- | arch/x86/include/asm/current.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/current.h b/arch/x86/include/asm/current.h index 0930b4f8d672..0728480f5c56 100644 --- a/arch/x86/include/asm/current.h +++ b/arch/x86/include/asm/current.h | |||
@@ -10,7 +10,7 @@ struct task_struct; | |||
10 | DECLARE_PER_CPU(struct task_struct *, current_task); | 10 | DECLARE_PER_CPU(struct task_struct *, current_task); |
11 | static __always_inline struct task_struct *get_current(void) | 11 | static __always_inline struct task_struct *get_current(void) |
12 | { | 12 | { |
13 | return x86_read_percpu(current_task); | 13 | return percpu_read(current_task); |
14 | } | 14 | } |
15 | 15 | ||
16 | #else /* X86_32 */ | 16 | #else /* X86_32 */ |