aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/system.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-09 17:50:11 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-09 17:50:11 +0000
commit24edf4b8989a60f108982ee44590df856a8fc9b2 (patch)
treea89eadc9e53a8000808cd3b56183a860fb7c51d4 /xen/include/asm-x86/system.h
parent09e259436510fe39c0e55a4195f5368a1a386dba (diff)
downloadxen-24edf4b8989a60f108982ee44590df856a8fc9b2.tar.gz
xen-24edf4b8989a60f108982ee44590df856a8fc9b2.tar.bz2
xen-24edf4b8989a60f108982ee44590df856a8fc9b2.zip
bitkeeper revision 1.1389.10.1 (427fa2d3ZV92f_ErvLuIzWbV1f67QA)
Phase 1 of upgrading platform code to be derived from Linux 2.6.11 rather than 2.4.x. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/system.h')
-rw-r--r--xen/include/asm-x86/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-x86/system.h b/xen/include/asm-x86/system.h
index 49355af7d6..cd0619008d 100644
--- a/xen/include/asm-x86/system.h
+++ b/xen/include/asm-x86/system.h
@@ -112,6 +112,7 @@ static always_inline unsigned long __cmpxchg(volatile void *ptr, unsigned long o
return old;
}
+#define __HAVE_ARCH_CMPXCHG
#define cmpxchg(ptr,o,n)\
((__typeof__(*(ptr)))__cmpxchg((ptr),(unsigned long)(o),\
(unsigned long)(n),sizeof(*(ptr))))