x86: Apply the asm_volatile_goto() compiler quirk
authorIngo Molnar <mingo@kernel.org>
Thu, 10 Oct 2013 08:16:30 +0000 (10:16 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 11 Oct 2013 05:41:43 +0000 (07:41 +0200)
commit88f182dd779b9d350b4774c12d16633a5b60f50c
treeb5f1fa7e2ab82091203e07e5dff41ae257e67d4f
parentec0ad3d01f99d5e5b56a99a58f7003b99250dc65
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>
arch/x86/include/asm/rmwcc.h