From: Andrew Morton Date: Thu, 12 Apr 2012 22:51:44 +0000 (+1000) Subject: x86-use-this_cpu_xxx-to-replace-percpu_xxx-funcs-fix X-Git-Tag: next-20120417~2^2~118 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=81b0c41ae9c081f39f306e817c772873513f032c;p=karo-tx-linux.git x86-use-this_cpu_xxx-to-replace-percpu_xxx-funcs-fix Cc: Alex Shi Signed-off-by: Andrew Morton --- 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); }