]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/sh/include/asm/types.h
Input: wm97xx: add new AC97 bus support
[mirror_ubuntu-focal-kernel.git] / arch / sh / include / asm / types.h
1 #ifndef __ASM_SH_TYPES_H
2 #define __ASM_SH_TYPES_H
3
4 #include <uapi/asm/types.h>
5
6 /*
7 * These aren't exported outside the kernel to avoid name space clashes
8 */
9 #ifndef __ASSEMBLY__
10
11 #ifdef CONFIG_SUPERH32
12 typedef u16 insn_size_t;
13 typedef u32 reg_size_t;
14 #else
15 typedef u32 insn_size_t;
16 typedef u64 reg_size_t;
17 #endif
18
19 #endif /* __ASSEMBLY__ */
20 #endif /* __ASM_SH_TYPES_H */