ia64/xen-unstable

view xen/include/asm-ia64/xentypes.h @ 6457:d34925e4144b

Stil more cleanup and moving to 2.6.13 base
author djm@kirby.fc.hp.com
date Thu Sep 01 11:09:27 2005 -0600 (2005-09-01)
parents
children 58637a0a7c7e
line source
1 #ifndef _ASM_IA64_XENTYPES_H
2 #define _ASM_IA64_XENTYPES_H
4 #ifndef __ASSEMBLY__
5 typedef unsigned long ssize_t;
6 typedef unsigned long size_t;
7 typedef long long loff_t;
9 #ifdef __KERNEL__
10 /* these lines taken from linux/types.h. they belong in xen/types.h */
11 #ifdef __CHECKER__
12 #define __bitwise __attribute__((bitwise))
13 #else
14 #define __bitwise
15 #endif
17 typedef __u16 __bitwise __le16;
18 typedef __u16 __bitwise __be16;
19 typedef __u32 __bitwise __le32;
20 typedef __u32 __bitwise __be32;
21 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
22 typedef __u64 __bitwise __le64;
23 typedef __u64 __bitwise __be64;
24 #endif
26 # endif /* __KERNEL__ */
27 #endif /* !__ASSEMBLY__ */
29 #endif /* _ASM_IA64_XENTYPES_H */