aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc64/kernel/misctrap.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/misctrap.S')
-rw-r--r--arch/sparc64/kernel/misctrap.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/misctrap.S b/arch/sparc64/kernel/misctrap.S
index b257497ddde..753b4f031bf 100644
--- a/arch/sparc64/kernel/misctrap.S
+++ b/arch/sparc64/kernel/misctrap.S
@@ -1,3 +1,13 @@
+#ifdef CONFIG_KGDB
+ .globl arch_kgdb_breakpoint
+ .type arch_kgdb_breakpoint,#function
+arch_kgdb_breakpoint:
+ ta 0x72
+ retl
+ nop
+ .size arch_kgdb_breakpoint,.-arch_kgdb_breakpoint
+#endif
+
.type __do_privact,#function
__do_privact:
mov TLB_SFSR, %g3