From b3e6a6be1efe84a2e0546f2d40ec9a4d6c4b0a5a Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 3 May 2012 15:43:18 +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