diff options
Diffstat (limited to 'arch/x86/include/asm/preempt.h')
-rw-r--r-- | arch/x86/include/asm/preempt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/preempt.h b/arch/x86/include/asm/preempt.h index 7f2dbd91fc74..90cb2f36c042 100644 --- a/arch/x86/include/asm/preempt.h +++ b/arch/x86/include/asm/preempt.h | |||
@@ -88,7 +88,7 @@ static __always_inline void __preempt_count_sub(int val) | |||
88 | */ | 88 | */ |
89 | static __always_inline bool __preempt_count_dec_and_test(void) | 89 | static __always_inline bool __preempt_count_dec_and_test(void) |
90 | { | 90 | { |
91 | GEN_UNARY_RMWcc("decl", __preempt_count, __percpu_arg(0), e); | 91 | return GEN_UNARY_RMWcc("decl", __preempt_count, e, __percpu_arg([var])); |
92 | } | 92 | } |
93 | 93 | ||
94 | /* | 94 | /* |