From 81b0c41ae9c081f39f306e817c772873513f032c Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 13 Apr 2012 08:51:44 +1000 Subject: [PATCH] x86-use-this_cpu_xxx-to-replace-percpu_xxx-funcs-fix Cc: Alex Shi Signed-off-by: Andrew Morton --- arch/x86/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 1d92a5ab6e8b..62ade8fed9f9 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -377,7 +377,7 @@ static inline void play_dead(void) #ifdef CONFIG_X86_64 void enter_idle(void) { - percpu_write(is_idle, 1); + __this_cpu_write(is_idle, 1); atomic_notifier_call_chain(&idle_notifier, IDLE_START, NULL); } -- 2.39.5