sh: Rename opcode_t to insn_size_t.

This is now clashing with a driver, so just rename it.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2009-05-09 16:02:08 +09:00
parent 6dbe47a170
commit 2bcfffa423
7 changed files with 15 additions and 15 deletions

View File

@@ -6,7 +6,7 @@
#include <linux/types.h>
#include <linux/ptrace.h>
typedef u16 kprobe_opcode_t;
typedef insn_size_t kprobe_opcode_t;
#define BREAKPOINT_INSTRUCTION 0xc33a
#define MAX_INSN_SIZE 16

View File

@@ -198,7 +198,7 @@ do { \
})
#endif
int handle_unaligned_access(opcode_t instruction, struct pt_regs *regs,
int handle_unaligned_access(insn_size_t instruction, struct pt_regs *regs,
struct mem_access *ma);
asmlinkage void do_address_error(struct pt_regs *regs,

View File

@@ -23,9 +23,9 @@ typedef unsigned short umode_t;
typedef u32 dma_addr_t;
#ifdef CONFIG_SUPERH32
typedef u16 opcode_t;
typedef u16 insn_size_t;
#else
typedef u32 opcode_t;
typedef u32 insn_size_t;
#endif
#endif /* __ASSEMBLY__ */