aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/ptrace_64.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-19 01:58:27 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-01-19 01:58:27 -0500
commita4ae2b2b18d1766768987dc5de42dfa3c2a6d9f7 (patch)
treee27fcec5e2422a9668ee59d4b5f6dc3b42bd1eeb /arch/sh/kernel/ptrace_64.c
parentd6db8888c8957fbdcd611e1321a6f6a0d6fb7e15 (diff)
sh64: Fixup build breakage from breakpoint handler rename.
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>
Diffstat (limited to 'arch/sh/kernel/ptrace_64.c')
-rw-r--r--arch/sh/kernel/ptrace_64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/kernel/ptrace_64.c b/arch/sh/kernel/ptrace_64.c
index 23fbd92a74e7..2f6140e95ec5 100644
--- a/arch/sh/kernel/ptrace_64.c
+++ b/arch/sh/kernel/ptrace_64.c
@@ -478,9 +478,10 @@ asmlinkage void do_single_step(unsigned long long vec, struct pt_regs *regs)
478} 478}
479 479
480/* Called with interrupts disabled */ 480/* Called with interrupts disabled */
481asmlinkage void do_software_break_point(unsigned long long vec, 481BUILD_TRAP_HANDLER(breakpoint)
482 struct pt_regs *regs)
483{ 482{
483 TRAP_HANDLER_DECL;
484
484 /* We need to forward step the PC, to counteract the backstep done 485 /* We need to forward step the PC, to counteract the backstep done
485 in signal.c. */ 486 in signal.c. */
486 local_irq_enable(); 487 local_irq_enable();