Skip to content

Commit

Permalink
sh64: Fixup build breakage from breakpoint handler rename.
Browse files Browse the repository at this point in the history
The breakpoint handler was renamed on sh32, but sh64 was overlooked in
the conversion. Fix it up now.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jan 19, 2010
1 parent d6db888 commit a4ae2b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/sh/kernel/cpu/sh5/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ trap_jtable:
.rept 6
.long do_exception_error /* 0x880 - 0x920 */
.endr
.long do_software_break_point /* 0x940 */
.long breakpoint_trap_handler /* 0x940 */
.long do_exception_error /* 0x960 */
.long do_single_step /* 0x980 */

Expand Down
5 changes: 3 additions & 2 deletions arch/sh/kernel/ptrace_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,10 @@ asmlinkage void do_single_step(unsigned long long vec, struct pt_regs *regs)
}

/* Called with interrupts disabled */
asmlinkage void do_software_break_point(unsigned long long vec,
struct pt_regs *regs)
BUILD_TRAP_HANDLER(breakpoint)
{
TRAP_HANDLER_DECL;

/* We need to forward step the PC, to counteract the backstep done
in signal.c. */
local_irq_enable();
Expand Down

0 comments on commit a4ae2b2

Please sign in to comment.