]> git.karo-electronics.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, 25 Apr 2012 01:03:16 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:11 +0000 (15:17 +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);
 }