7 * This file is never included by application software unless
8 * explicitly requested (e.g., via linux/types.h) in which case the
9 * application is Linux specific so (user-) name space pollution is
10 * not a major issue. However, for interoperability, libraries still
11 * need to be careful to avoid a name clashes.
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version
16 * 2 of the License, or (at your option) any later version.
19 typedef unsigned int umode_t;
22 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
23 * header files exported to user space
26 typedef __signed__ char __s8;
27 typedef unsigned char __u8;
29 typedef __signed__ short __s16;
30 typedef unsigned short __u16;
32 typedef __signed__ int __s32;
33 typedef unsigned int __u32;
35 typedef __signed__ long __s64;
36 typedef unsigned long __u64;
40 } __attribute((aligned(16))) __vector128;
42 #endif /* __ASSEMBLY__ */
46 * These aren't exported outside the kernel to avoid name space clashes
48 #define BITS_PER_LONG 64
52 typedef signed char s8;
53 typedef unsigned char u8;
55 typedef signed short s16;
56 typedef unsigned short u16;
58 typedef signed int s32;
59 typedef unsigned int u32;
61 typedef signed long s64;
62 typedef unsigned long u64;
64 typedef __vector128 vector128;
66 typedef u32 dma_addr_t;
67 typedef u64 dma64_addr_t;
75 typedef unsigned int kmem_bufctl_t;
76 #endif /* __ASSEMBLY__ */
78 #endif /* __KERNEL__ */
80 #endif /* _PPC64_TYPES_H */