ACPICA: Several lint changes, no functional changes
[linux-2.6/mini2440.git] / include / asm-sh / types.h
blobbeea4e6f8dfd927c181137016e8b5f1c40e8f59f
1 #ifndef __ASM_SH_TYPES_H
2 #define __ASM_SH_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;
25 #ifdef CONFIG_SUPERH32
26 typedef u16 opcode_t;
27 #else
28 typedef u32 opcode_t;
29 #endif
31 #endif /* __ASSEMBLY__ */
33 #endif /* __KERNEL__ */
35 #endif /* __ASM_SH_TYPES_H */