commit | e9826380d83d1bda3ee5663bf3fa4667a6fbe60a | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | Thu Aug 18 11:48:06 2011 -0700 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Mon Aug 29 13:42:10 2011 -0700 |
tree | f7de160fc158e87f8bd78d67a4f0c43bf4356b4c | |
parent | 00a41546e8008b9944382eed1841c785f4fc8d9c [diff] |
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 <jeremy.fitzhardinge@citrix.com> Link: http://lkml.kernel.org/r/4E5BCC40.3030501@goop.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>