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/kgdb.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/kgdb.c')
-rw-r--r-- | arch/sh/kernel/kgdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/kgdb.c b/arch/sh/kernel/kgdb.c index 7c747e7d71b8..305aad742aec 100644 --- a/arch/sh/kernel/kgdb.c +++ b/arch/sh/kernel/kgdb.c | |||
@@ -47,7 +47,7 @@ char in_nmi = 0; /* Set during NMI to prevent re-entry */ | |||
47 | /* Calculate the new address for after a step */ | 47 | /* Calculate the new address for after a step */ |
48 | static short *get_step_address(struct pt_regs *linux_regs) | 48 | static short *get_step_address(struct pt_regs *linux_regs) |
49 | { | 49 | { |
50 | opcode_t op = __raw_readw(linux_regs->pc); | 50 | insn_size_t op = __raw_readw(linux_regs->pc); |
51 | long addr; | 51 | long addr; |
52 | 52 | ||
53 | /* BT */ | 53 | /* BT */ |
@@ -134,7 +134,7 @@ static short *get_step_address(struct pt_regs *linux_regs) | |||
134 | */ | 134 | */ |
135 | 135 | ||
136 | static unsigned long stepped_address; | 136 | static unsigned long stepped_address; |
137 | static opcode_t stepped_opcode; | 137 | static insn_size_t stepped_opcode; |
138 | 138 | ||
139 | static void do_single_step(struct pt_regs *linux_regs) | 139 | static void do_single_step(struct pt_regs *linux_regs) |
140 | { | 140 | { |