2005-04-17 00:20:36 +02:00
|
|
|
#ifndef __ASM_SH_TYPES_H
|
|
|
|
#define __ASM_SH_TYPES_H
|
|
|
|
|
2009-06-14 16:25:27 +02:00
|
|
|
#include <asm-generic/types.h>
|
2005-04-17 00:20:36 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* These aren't exported outside the kernel to avoid name space clashes
|
|
|
|
*/
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
2007-11-20 10:08:06 +01:00
|
|
|
#ifdef CONFIG_SUPERH32
|
2009-05-09 09:02:08 +02:00
|
|
|
typedef u16 insn_size_t;
|
2009-08-14 18:57:36 +02:00
|
|
|
typedef u32 reg_size_t;
|
2007-11-20 10:08:06 +01:00
|
|
|
#else
|
2009-05-09 09:02:08 +02:00
|
|
|
typedef u32 insn_size_t;
|
2009-08-14 18:57:36 +02:00
|
|
|
typedef u64 reg_size_t;
|
2007-11-20 10:08:06 +01:00
|
|
|
#endif
|
|
|
|
|
2005-04-17 00:20:36 +02:00
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
|
|
|
|
#endif /* __ASM_SH_TYPES_H */
|