Full support for Ginger Console
[linux-ginger.git] / arch / sh / include / asm / types.h
blobf8421f7ad63a8b0c79ad3dc5e2fd6b64e2832203
1 #ifndef __ASM_SH_TYPES_H
2 #define __ASM_SH_TYPES_H
4 #include <asm-generic/types.h>
6 /*
7 * These aren't exported outside the kernel to avoid name space clashes
8 */
9 #ifdef __KERNEL__
10 #ifndef __ASSEMBLY__
12 #ifdef CONFIG_SUPERH32
13 typedef u16 insn_size_t;
14 typedef u32 reg_size_t;
15 #else
16 typedef u32 insn_size_t;
17 typedef u64 reg_size_t;
18 #endif
20 #endif /* __ASSEMBLY__ */
21 #endif /* __KERNEL__ */
23 #endif /* __ASM_SH_TYPES_H */