1 /* $Id: types.h,v 1.4 2001/10/09 02:24:35 davem Exp $ */
2 #ifndef _SPARC64_TYPES_H
3 #define _SPARC64_TYPES_H
6 * This file is never included by application software unless
7 * explicitly requested (e.g., via linux/types.h) in which case the
8 * application is Linux specific so (user-) name space pollution is
9 * not a major issue. However, for interoperability, libraries still
10 * need to be careful to avoid a name clashes.
12 #include <asm-generic/int-l64.h>
16 typedef unsigned short umode_t
;
18 #endif /* __ASSEMBLY__ */
22 #define BITS_PER_LONG 64
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__ */
35 #endif /* defined(_SPARC64_TYPES_H) */