summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/kernel/vm_entry.S
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2013-03-07 19:03:10 +0100
committerRichard Kuo <rkuo@codeaurora.org>2013-05-01 02:40:25 +0200
commit7777746c40876834c1527689336e43c8381b1921 (patch)
treeb3257768e29db418ab9292a4e9a27c56e1e88fed /arch/hexagon/kernel/vm_entry.S
parentHexagon: use correct work mask when checking for more work (diff)
downloadlinux-7777746c40876834c1527689336e43c8381b1921.tar.xz
linux-7777746c40876834c1527689336e43c8381b1921.zip
Hexagon: add support for single-stepping (v4+)
Hardware single-step is only available on v4 and later architectures. Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/kernel/vm_entry.S')
-rw-r--r--arch/hexagon/kernel/vm_entry.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/hexagon/kernel/vm_entry.S b/arch/hexagon/kernel/vm_entry.S
index 053551ee7114..9add73ab57d8 100644
--- a/arch/hexagon/kernel/vm_entry.S
+++ b/arch/hexagon/kernel/vm_entry.S
@@ -367,6 +367,9 @@ _K_enter_trap0:
_K_enter_machcheck:
vm_event_entry(do_machcheck)
+ .globl _K_enter_debug
+_K_enter_debug:
+ vm_event_entry(do_debug_exception)
.globl ret_from_fork
ret_from_fork: