aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/types.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-01-12 16:43:55 +0100
committerJan Beulich <jbeulich@suse.com>2012-01-12 16:43:55 +0100
commitac2dc37213347371e2bd89b7d0c7b185d03845b1 (patch)
treea53b7e20830cb62d6dac45b3dbb9d762f6041d9a /xen/include/asm-x86/types.h
parent90ad72ce3ecf32b8b3051e1f22fa26cd3726a232 (diff)
downloadxen-ac2dc37213347371e2bd89b7d0c7b185d03845b1.tar.gz
xen-ac2dc37213347371e2bd89b7d0c7b185d03845b1.tar.bz2
xen-ac2dc37213347371e2bd89b7d0c7b185d03845b1.zip
x86: move and fold certain type property definitions
Not only is it less code to have them consolidated, it also permits their use virtually everywhere (since config.h is required to be included everywhere. (Shouldn't we, btw, follow Linux and remove the explicit inclusion in favor of command line enforced one?) Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/asm-x86/types.h')
-rw-r--r--xen/include/asm-x86/types.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/xen/include/asm-x86/types.h b/xen/include/asm-x86/types.h
index 35b920c69b..b945da0932 100644
--- a/xen/include/asm-x86/types.h
+++ b/xen/include/asm-x86/types.h
@@ -55,14 +55,4 @@ typedef char bool_t;
#endif /* __ASSEMBLY__ */
-#if defined(__i386__)
-#define BITS_PER_LONG 32
-#define BYTES_PER_LONG 4
-#define LONG_BYTEORDER 2
-#elif defined(__x86_64__)
-#define BITS_PER_LONG 64
-#define BYTES_PER_LONG 8
-#define LONG_BYTEORDER 3
-#endif
-
#endif /* __X86_TYPES_H__ */