Przeglądaj źródła

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>
Paul Mundt 15 lat temu
rodzic
commit
a4ae2b2b18
2 zmienionych plików z 4 dodań i 3 usunięć
  1. 1 1
      arch/sh/kernel/cpu/sh5/entry.S
  2. 3 2
      arch/sh/kernel/ptrace_64.c

+ 1 - 1
arch/sh/kernel/cpu/sh5/entry.S

@@ -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 */
 

+ 3 - 2
arch/sh/kernel/ptrace_64.c

@@ -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();