]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/ticketlock: convert __ticket_spin_lock to use xadd()
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 13 Jul 2010 21:07:45 +0000 (14:07 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 26 Aug 2011 20:23:00 +0000 (13:23 -0700)
commit8acd1a21bb041a31c92330e5317c33abab6295ee
tree971a96aeb6d6fb1d7d571cd667ba3b58d37c61d3
parentf88db7a6be8b8a117cd82544483da21c9f96f67b
x86/ticketlock: convert __ticket_spin_lock to use xadd()

Convert the two variants of __ticket_spin_lock() to use xadd(), which
has the effect of making them identical, so remove the duplicate function.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/include/asm/spinlock.h