]> git.karo-electronics.de Git - mv-sheeva.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)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 29 Aug 2011 20:46:07 +0000 (13:46 -0700)
commit2994488fe5bb721de1ded53af1a2fc41f47f6ddc
tree9629e17795bbe0e6e12b31ebf3b433fcea51668a
parentc576a3ea905c25d50339503e0e5c7fef724e0147
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>
Link: http://lkml.kernel.org/r/4E5BCC40.3030501@goop.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/spinlock.h