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)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 29 Aug 2011 20:46:07 +0000 (13:46 -0700)
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>
Link: http://lkml.kernel.org/r/4E5BCC40.3030501@goop.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

No differences found