From: Christoph Lameter Date: Tue, 14 Dec 2010 16:28:44 +0000 (-0600) Subject: x86: this_cpu_cmpxchg and this_cpu_xchg operations X-Git-Tag: v2.6.38-rc1~455^2~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7296e08abac0a22a2534a4f6e493c764f2c77583;p=pandora-kernel.git x86: this_cpu_cmpxchg and this_cpu_xchg operations Provide support as far as the hardware capabilities of the x86 cpus allow. Define CONFIG_CMPXCHG_LOCAL in Kconfig.cpu to allow core code to test for fast cpuops implementations. V1->V2: - Take out the definition for this_cpu_cmpxchg_8 and move it into a separate patch. tj: - Reordered ops to better follow this_cpu_* organization. - Renamed macro temp variables similar to their existing neighbours. Signed-off-by: Christoph Lameter Signed-off-by: Tejun Heo --- Reading git-diff-tree failed