From: Jeremy Fitzhardinge Date: Thu, 18 Aug 2011 18:48:06 +0000 (-0700) Subject: x86, cmpxchg: Unify cmpxchg into cmpxchg.h X-Git-Tag: v3.2-rc1~138^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9826380d83d1bda3ee5663bf3fa4667a6fbe60a;p=pandora-kernel.git x86, cmpxchg: Unify cmpxchg into cmpxchg.h Everything that's actually common between 32 and 64-bit is moved into cmpxchg.h. xchg/cmpxchg will fail with a link error if they're passed an unsupported size (which includes 64-bit args on 32-bit systems). Signed-off-by: Jeremy Fitzhardinge Link: http://lkml.kernel.org/r/4E5BCC40.3030501@goop.org Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed