x86: Add xadd helper macro
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 21 Jun 2011 19:00:55 +0000 (12:00 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 29 Aug 2011 20:42:20 +0000 (13:42 -0700)
commit433b3520616be694e0aa777089346c8718c91a7b
tree0d73d7efc65c550a02535c0f10265807402e3617
parente9826380d83d1bda3ee5663bf3fa4667a6fbe60a
x86: Add xadd helper macro

Add a common xadd implementation.

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/cmpxchg.h