2 * include/asm-s390/types.h
6 * Derived from "include/asm-i386/types.h"
13 # include <asm-generic/int-ll64.h>
15 # include <asm-generic/int-l64.h>
20 typedef unsigned short umode_t;
22 /* A address type so that arithmetic can be done on it & it can be upgraded to
25 typedef unsigned long addr_t;
26 typedef __signed__ long saddr_t;
28 #endif /* __ASSEMBLY__ */
31 * These aren't exported outside the kernel to avoid name space clashes
36 #define BITS_PER_LONG 32
38 #define BITS_PER_LONG 64
43 typedef u64 dma64_addr_t;
45 /* DMA addresses come in 32-bit and 64-bit flavours. */
46 typedef u64 dma_addr_t;
48 typedef u32 dma_addr_t;
53 unsigned long long pair;
60 #endif /* ! __s390x__ */
61 #endif /* __ASSEMBLY__ */
62 #endif /* __KERNEL__ */
63 #endif /* _S390_TYPES_H */