spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / arch / s390 / include / asm / types.h
blob05ebbcdbbf6ba7d34791545f3f37355fcb10ef00
1 /*
2 * include/asm-s390/types.h
4 * S390 version
6 * Derived from "include/asm-i386/types.h"
7 */
9 #ifndef _S390_TYPES_H
10 #define _S390_TYPES_H
12 #include <asm-generic/int-ll64.h>
14 #ifndef __ASSEMBLY__
16 /* A address type so that arithmetic can be done on it & it can be upgraded to
17 64 bit when necessary
19 typedef unsigned long addr_t;
20 typedef __signed__ long saddr_t;
22 #endif /* __ASSEMBLY__ */
25 * These aren't exported outside the kernel to avoid name space clashes
27 #ifdef __KERNEL__
29 #ifndef __ASSEMBLY__
31 #ifndef __s390x__
32 typedef union {
33 unsigned long long pair;
34 struct {
35 unsigned long even;
36 unsigned long odd;
37 } subreg;
38 } register_pair;
40 #endif /* ! __s390x__ */
41 #endif /* __ASSEMBLY__ */
42 #endif /* __KERNEL__ */
43 #endif /* _S390_TYPES_H */