summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/rmwcc.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-10-10 10:16:30 +0200
committerIngo Molnar <mingo@kernel.org>2013-10-11 07:41:43 +0200
commit88f182dd779b9d350b4774c12d16633a5b60f50c (patch)
treeb5f1fa7e2ab82091203e07e5dff41ae257e67d4f /arch/x86/include/asm/rmwcc.h
parentMerge branch 'core/urgent' into sched/core (diff)
downloadlinux-88f182dd779b9d350b4774c12d16633a5b60f50c.tar.xz
linux-88f182dd779b9d350b4774c12d16633a5b60f50c.zip
x86: Apply the asm_volatile_goto() compiler quirk
Apply the asm_volatile_goto() compiler quirk to the new rmwcc.h file as well, introduced in: c2daa3bed53a sched, x86: Provide a per-cpu preempt_count implementation Reported-and-tested-by: Fengguang Wu <fengguang.wu@intel.com> Reported-by: Oleg Nesterov <oleg@redhat.com> Reported-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Suggested-by: Jakub Jelinek <jakub@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/rmwcc.h')
-rw-r--r--arch/x86/include/asm/rmwcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/rmwcc.h b/arch/x86/include/asm/rmwcc.h
index 735f1849795f..1ff990f1de8e 100644
--- a/arch/x86/include/asm/rmwcc.h
+++ b/arch/x86/include/asm/rmwcc.h
@@ -5,7 +5,7 @@
#define __GEN_RMWcc(fullop, var, cc, ...) \
do { \
- asm volatile goto (fullop "; j" cc " %l[cc_label]" \
+ asm_volatile_goto (fullop "; j" cc " %l[cc_label]" \
: : "m" (var), ## __VA_ARGS__ \
: "memory" : cc_label); \
return 0; \