License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / sh / include / asm / types.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef __ASM_SH_TYPES_H
3#define __ASM_SH_TYPES_H
4
0a9426df 5#include <uapi/asm/types.h>
1da177e4
LT
6
7/*
8 * These aren't exported outside the kernel to avoid name space clashes
9 */
1da177e4
LT
10#ifndef __ASSEMBLY__
11
5a4f7c66 12#ifdef CONFIG_SUPERH32
2bcfffa4 13typedef u16 insn_size_t;
43bc61d8 14typedef u32 reg_size_t;
5a4f7c66 15#else
2bcfffa4 16typedef u32 insn_size_t;
43bc61d8 17typedef u64 reg_size_t;
5a4f7c66
PM
18#endif
19
1da177e4 20#endif /* __ASSEMBLY__ */
1da177e4 21#endif /* __ASM_SH_TYPES_H */