/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. #include <uapi/asm/types.h>
  5. /*
  6. * These aren't exported outside the kernel to avoid name space clashes
  7. */
  8. #ifndef __ASSEMBLY__
  9. #ifdef CONFIG_SUPERH32
  10. typedef u16 insn_size_t;
  11. typedef u32 reg_size_t;
  12. #else
  13. typedef u32 insn_size_t;
  14. typedef u64 reg_size_t;
  15. #endif
  16. #endif /* __ASSEMBLY__ */
  17. #endif /* __ASM_SH_TYPES_H */