![David Howells](/assets/img/avatar_default.png)
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
21 lines
372 B
C
21 lines
372 B
C
#ifndef __ASM_SH_TYPES_H
|
|
#define __ASM_SH_TYPES_H
|
|
|
|
#include <uapi/asm/types.h>
|
|
|
|
/*
|
|
* These aren't exported outside the kernel to avoid name space clashes
|
|
*/
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#ifdef CONFIG_SUPERH32
|
|
typedef u16 insn_size_t;
|
|
typedef u32 reg_size_t;
|
|
#else
|
|
typedef u32 insn_size_t;
|
|
typedef u64 reg_size_t;
|
|
#endif
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
#endif /* __ASM_SH_TYPES_H */
|