commit | 2994488fe5bb721de1ded53af1a2fc41f47f6ddc | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | Tue Jul 13 14:07:45 2010 -0700 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Mon Aug 29 13:46:07 2011 -0700 |
tree | 9629e17795bbe0e6e12b31ebf3b433fcea51668a | |
parent | c576a3ea905c25d50339503e0e5c7fef724e0147 [diff] |
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>