sh: Fix up breakpoint trap handler patching on SH-2A.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 5 Jan 2010 03:44:02 +0000 (12:44 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 5 Jan 2010 03:44:02 +0000 (12:44 +0900)
SH-2A was referencing the old handler that no longer exists, fix it up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps_32.c

index 86639be..706c1c1 100644 (file)
@@ -956,7 +956,7 @@ void __init trap_init(void)
 #endif
 
 #ifdef TRAP_UBC
-       set_exception_table_vec(TRAP_UBC, break_point_trap);
+       set_exception_table_vec(TRAP_UBC, breakpoint_trap_handler);
 #endif
 
        /* Setup VBR for boot cpu */