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:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user