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-11 21:36:10 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-06-11 21:36:10 +0000
commit976f815cf309158ba134cb945d0ad0817d86891c (patch)
treebeaad726cad5c0a186e97fcb5443d94620593364 /xen/include/asm-x86/types.h
parent9a36e18cd692a4d30b5a339c2a284a67f63a1a3d (diff)
downloadxen-976f815cf309158ba134cb945d0ad0817d86891c.tar.gz
xen-976f815cf309158ba134cb945d0ad0817d86891c.tar.bz2
xen-976f815cf309158ba134cb945d0ad0817d86891c.zip
bitkeeper revision 1.955.1.4 (40ca25caD-WBu24eVfed1yswCl7JeQ)
Many files: More x86_64 stuff. pda.h: Rename: xen/include/asm-x86/x86_64/pda.h -> xen/include/asm-x86/pda.h .del-config.h~ab742eeb14ad808f: Delete: xen/include/asm-x86/x86_64/config.h arch-x86_32.h: Rename: xen/include/hypervisor-ifs/arch_x86_32.h -> xen/include/hypervisor-ifs/arch-x86_32.h arch-x86_64.h: Rename: xen/include/hypervisor-ifs/arch_x86_64.h -> xen/include/hypervisor-ifs/arch-x86_64.h arch_x86_32.h: Rename: xen/include/hypervisor-ifs/arch-x86/hypervisor-if.h -> xen/include/hypervisor-ifs/arch_x86_32.h arch_x86_64.h: Rename: xen/include/hypervisor-ifs/arch-x86_64/hypervisor-if.h -> xen/include/hypervisor-ifs/arch_x86_64.h
Diffstat (limited to 'xen/include/asm-x86/types.h')
-rw-r--r--xen/include/asm-x86/types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/xen/include/asm-x86/types.h b/xen/include/asm-x86/types.h
index adb63db4d1..0b4b616b24 100644
--- a/xen/include/asm-x86/types.h
+++ b/xen/include/asm-x86/types.h
@@ -20,10 +20,10 @@ typedef __signed__ int __s32;
typedef unsigned int __u32;
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
-#ifdef x86_32
+#if defined(__i386__)
typedef __signed__ long long __s64;
typedef unsigned long long __u64;
-#else
+#elif defined(__x86_64__)
typedef __signed__ long __s64;
typedef unsigned long __u64;
#endif
@@ -40,11 +40,11 @@ typedef unsigned short u16;
typedef signed int s32;
typedef unsigned int u32;
-#ifdef x86_32
+#if defined(__i386__)
typedef signed long long s64;
typedef unsigned long long u64;
#define BITS_PER_LONG 32
-#else
+#elif defined(__x86_64__)
typedef signed long s64;
typedef unsigned long u64;
#define BITS_PER_LONG 64