2 * include/asm-s390/types.h
6 * Derived from "include/asm-i386/types.h"
12 #include <asm-generic/int-ll64.h>
16 typedef unsigned short umode_t;
18 /* A address type so that arithmetic can be done on it & it can be upgraded to
21 typedef unsigned long addr_t;
22 typedef __signed__ long saddr_t;
24 #endif /* __ASSEMBLY__ */
27 * These aren't exported outside the kernel to avoid name space clashes
32 #define BITS_PER_LONG 32
34 #define BITS_PER_LONG 64
39 typedef u64 dma64_addr_t;
41 /* DMA addresses come in 32-bit and 64-bit flavours. */
42 typedef u64 dma_addr_t;
44 typedef u32 dma_addr_t;
49 unsigned long long pair;
56 #endif /* ! __s390x__ */
57 #endif /* __ASSEMBLY__ */
58 #endif /* __KERNEL__ */
59 #endif /* _S390_TYPES_H */