Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Fix up kgdb-on-NMI branch target.

This was all reworked some time ago, the old debug_enter was ripped
out with everything going through a debug trap jump table instead.
Kill off the debug_enter target and reference kgdb_handle_exception
directly.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+1 -1
+1 -1
arch/sh/kernel/cpu/sh3/ex.S
··· 46 46 .long exception_error ! illegal_slot_instruction (filled by trap_init) /*1A0*/ 47 47 ENTRY(nmi_slot) 48 48 #if defined (CONFIG_KGDB_NMI) 49 - .long debug_enter /* 1C0 */ ! Allow trap to debugger 49 + .long kgdb_handle_exception /* 1C0 */ ! Allow trap to debugger 50 50 #else 51 51 .long exception_none /* 1C0 */ ! Not implemented yet 52 52 #endif