From: H. Peter Anvin Date: Wed, 28 Jul 2010 22:18:35 +0000 (-0700) Subject: x86, asm: Clean up and simplify X-Git-Tag: v2.6.36-rc1~526^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4532b305e8f0c238dd73048068ff8a6dd1380291;p=pandora-kernel.git x86, asm: Clean up and simplify Remove the __xg() hack to create a memory barrier near xchg and cmpxchg; it has been there since 1.3.11 but should not be necessary with "asm volatile" and a "memory" clobber, neither of which were there in the original implementation. However, we *should* make this a volatile reference. Signed-off-by: H. Peter Anvin LKML-Reference: --- Reading git-diff-tree failed