Full support for Ginger Console
[linux-ginger.git] / arch / m32r / include / asm / types.h
blobbc9f7fff0ac399da986bfc54bba6003aa9828b07
1 #ifndef _ASM_M32R_TYPES_H
2 #define _ASM_M32R_TYPES_H
4 #include <asm-generic/int-ll64.h>
6 #ifndef __ASSEMBLY__
8 typedef unsigned short umode_t;
10 #endif /* __ASSEMBLY__ */
13 * These aren't exported outside the kernel to avoid name space clashes
15 #ifdef __KERNEL__
17 #define BITS_PER_LONG 32
19 #ifndef __ASSEMBLY__
21 /* DMA addresses are 32-bits wide. */
23 typedef u32 dma_addr_t;
24 typedef u64 dma64_addr_t;
26 #endif /* __ASSEMBLY__ */
28 #endif /* __KERNEL__ */
30 #endif /* _ASM_M32R_TYPES_H */