diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-09 03:02:08 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-09 03:02:08 -0400 |
commit | 2bcfffa42309b6f73042c62459bf5207762a271d (patch) | |
tree | 1e4801652658e815b4c873e951b6339037deb3d5 /arch/sh/kernel/traps_32.c | |
parent | 6dbe47a170f80159f23c856ad4e02f2685c6f6cb (diff) |
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>
Diffstat (limited to 'arch/sh/kernel/traps_32.c')
-rw-r--r-- | arch/sh/kernel/traps_32.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sh/kernel/traps_32.c b/arch/sh/kernel/traps_32.c index 67550d88c4e6..2b772776fcda 100644 --- a/arch/sh/kernel/traps_32.c +++ b/arch/sh/kernel/traps_32.c | |||
@@ -177,7 +177,7 @@ static struct mem_access user_mem_access = { | |||
177 | * (if that instruction is in a branch delay slot) | 177 | * (if that instruction is in a branch delay slot) |
178 | * - return 0 if emulation okay, -EFAULT on existential error | 178 | * - return 0 if emulation okay, -EFAULT on existential error |
179 | */ | 179 | */ |
180 | static int handle_unaligned_ins(opcode_t instruction, struct pt_regs *regs, | 180 | static int handle_unaligned_ins(insn_size_t instruction, struct pt_regs *regs, |
181 | struct mem_access *ma) | 181 | struct mem_access *ma) |
182 | { | 182 | { |
183 | int ret, index, count; | 183 | int ret, index, count; |
@@ -322,10 +322,10 @@ static int handle_unaligned_ins(opcode_t instruction, struct pt_regs *regs, | |||
322 | * - fetches the instruction from PC+2 | 322 | * - fetches the instruction from PC+2 |
323 | */ | 323 | */ |
324 | static inline int handle_delayslot(struct pt_regs *regs, | 324 | static inline int handle_delayslot(struct pt_regs *regs, |
325 | opcode_t old_instruction, | 325 | insn_size_t old_instruction, |
326 | struct mem_access *ma) | 326 | struct mem_access *ma) |
327 | { | 327 | { |
328 | opcode_t instruction; | 328 | insn_size_t instruction; |
329 | void __user *addr = (void __user *)(regs->pc + | 329 | void __user *addr = (void __user *)(regs->pc + |
330 | instruction_size(old_instruction)); | 330 | instruction_size(old_instruction)); |
331 | 331 | ||
@@ -365,7 +365,7 @@ static inline int handle_delayslot(struct pt_regs *regs, | |||
365 | 365 | ||
366 | static int handle_unaligned_notify_count = 10; | 366 | static int handle_unaligned_notify_count = 10; |
367 | 367 | ||
368 | int handle_unaligned_access(opcode_t instruction, struct pt_regs *regs, | 368 | int handle_unaligned_access(insn_size_t instruction, struct pt_regs *regs, |
369 | struct mem_access *ma) | 369 | struct mem_access *ma) |
370 | { | 370 | { |
371 | u_int rm; | 371 | u_int rm; |
@@ -523,7 +523,7 @@ asmlinkage void do_address_error(struct pt_regs *regs, | |||
523 | unsigned long error_code = 0; | 523 | unsigned long error_code = 0; |
524 | mm_segment_t oldfs; | 524 | mm_segment_t oldfs; |
525 | siginfo_t info; | 525 | siginfo_t info; |
526 | opcode_t instruction; | 526 | insn_size_t instruction; |
527 | int tmp; | 527 | int tmp; |
528 | 528 | ||
529 | /* Intentional ifdef */ | 529 | /* Intentional ifdef */ |