]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, ticketlock: Use asm volatile for __ticket_unlock_release()
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 22 Jul 2011 18:15:20 +0000 (11:15 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 22 Jul 2011 18:15:20 +0000 (11:15 -0700)
commit26056c822f9428ddc95fd7ac3008bbb0032d1086
tree201a6ccea596ede4fa68c6851d46833e6bce8605
parent68302ae430d388a0118a8ce2a1abb5f87b737ef6
x86, ticketlock: Use asm volatile for __ticket_unlock_release()

__ticket_uplock_release() really should have barrier semantics, so use
"asm volatile" there.

Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Link: http://lkml.kernel.org/r/4E050704.3070409@zytor.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/spinlock.h