4 * This file is never included by application software unless
5 * explicitly requested (e.g., via linux/types.h) in which case the
6 * application is Linux specific so (user-) name space pollution is
7 * not a major issue. However, for interoperability, libraries still
8 * need to be careful to avoid a name clashes.
11 #if defined(__sparc__) && defined(__arch64__)
13 /*** SPARC 64 bit ***/
14 #include <asm-generic/int-ll64.h>
18 typedef unsigned short umode_t;
20 #endif /* __ASSEMBLY__ */
26 /* Dma addresses come in generic and 64-bit flavours. */
28 typedef u32 dma_addr_t;
29 typedef u64 dma64_addr_t;
31 #endif /* __ASSEMBLY__ */
33 #endif /* __KERNEL__ */
36 /*** SPARC 32 bit ***/
37 #include <asm-generic/int-ll64.h>
41 typedef unsigned short umode_t;
43 #endif /* __ASSEMBLY__ */
49 typedef u32 dma_addr_t;
50 typedef u32 dma64_addr_t;
52 #endif /* __ASSEMBLY__ */
54 #endif /* __KERNEL__ */
56 #endif /* defined(__sparc__) && defined(__arch64__) */
58 #endif /* defined(_SPARC_TYPES_H) */