Merge branch 'linus' into x86/boot, to resolve conflict
[linux-2.6-microblaze.git] / arch / x86 / include / asm / preempt.h
index af77235..919909d 100644 (file)
@@ -91,7 +91,7 @@ static __always_inline void __preempt_count_sub(int val)
  */
 static __always_inline bool __preempt_count_dec_and_test(void)
 {
-       return GEN_UNARY_RMWcc("decl", pcpu_hot.preempt_count, e,
+       return GEN_UNARY_RMWcc("decl", __my_cpu_var(pcpu_hot.preempt_count), e,
                               __percpu_arg([var]));
 }