aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/types.h
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-29 16:18:51 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-29 16:18:51 +0000
commitfa819b0ee16a650dc4013a7da98e9c9d6e56a1dc (patch)
treee687b9d58bfe9eabe99ebb72a23babdeccd34b88 /xen/include/asm-x86/types.h
parent2e18b662f8c13b1bc98426a46999118c84b1c95e (diff)
downloadxen-fa819b0ee16a650dc4013a7da98e9c9d6e56a1dc.tar.gz
xen-fa819b0ee16a650dc4013a7da98e9c9d6e56a1dc.tar.bz2
xen-fa819b0ee16a650dc4013a7da98e9c9d6e56a1dc.zip
bitkeeper revision 1.1026.3.1 (40e1966bdTS8WBGJY9WhLRE3t6GBdQ)
More cleanups for x86-64.
Diffstat (limited to 'xen/include/asm-x86/types.h')
-rw-r--r--xen/include/asm-x86/types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/asm-x86/types.h b/xen/include/asm-x86/types.h
index 0b4b616b24..e2b229edcf 100644
--- a/xen/include/asm-x86/types.h
+++ b/xen/include/asm-x86/types.h
@@ -3,7 +3,6 @@
typedef unsigned short umode_t;
-typedef unsigned int size_t;
/*
* __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
@@ -44,10 +43,12 @@ typedef unsigned int u32;
typedef signed long long s64;
typedef unsigned long long u64;
#define BITS_PER_LONG 32
+typedef unsigned int size_t;
#elif defined(__x86_64__)
typedef signed long s64;
typedef unsigned long u64;
#define BITS_PER_LONG 64
+typedef unsigned long size_t;
#endif
/* DMA addresses come in generic and 64-bit flavours. */