PageRenderTime 22ms CodeModel.GetById 15ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/sh/include/asm/types.h

http://github.com/mirrors/linux
C Header | 21 lines | 13 code | 4 blank | 4 comment | 0 complexity | e11a130095aa03bfe98618bb11385079 MD5 | raw file
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __ASM_SH_TYPES_H
 3#define __ASM_SH_TYPES_H
 4
 5#include <uapi/asm/types.h>
 6
 7/*
 8 * These aren't exported outside the kernel to avoid name space clashes
 9 */
10#ifndef __ASSEMBLY__
11
12#ifdef CONFIG_SUPERH32
13typedef u16 insn_size_t;
14typedef u32 reg_size_t;
15#else
16typedef u32 insn_size_t;
17typedef u64 reg_size_t;
18#endif
19
20#endif /* __ASSEMBLY__ */
21#endif /* __ASM_SH_TYPES_H */