]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
x86-use-this_cpu_xxx-to-replace-percpu_xxx-funcs-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Apr 2012 00:08:06 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 11 Apr 2012 04:45:38 +0000 (14:45 +1000)
Cc: Alex Shi <alex.shi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/kernel/process.c

index 1d92a5ab6e8b939613d6bfd7221133df2496b482..62ade8fed9f9bc2774b2925b2c7d7104f6bf84bb 100644 (file)
@@ -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);
 }