From: Borislav Petkov Date: Fri, 11 Jul 2014 10:43:38 +0000 (+0200) Subject: x86: Simplify __HAVE_ARCH_CMPXCHG tests X-Git-Tag: omap-for-v3.17/fixes-against-rc2~176^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b08ee5f7e4135d64b8edd769367f8964a725122e;p=pandora-kernel.git x86: Simplify __HAVE_ARCH_CMPXCHG tests Both the 32-bit and 64-bit cmpxchg.h header define __HAVE_ARCH_CMPXCHG and there's ifdeffery which checks it. But since both bitness define it, we can just as well move it up to the main cmpxchg header and simpify a bit of code in doing that. Signed-off-by: Borislav Petkov Link: http://lkml.kernel.org/r/20140711104338.GB17083@pd.tnic Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed