Commit c2a34cf3 authored by Philippe Gerum's avatar Philippe Gerum Committed by Dmitriy Cherkasov
Browse files

arm64: ipipe: route debug exceptions to co-kernel

parent d54e8259
...@@ -939,6 +939,9 @@ asmlinkage int __exception do_debug_exception(unsigned long addr, ...@@ -939,6 +939,9 @@ asmlinkage int __exception do_debug_exception(unsigned long addr,
struct siginfo info; struct siginfo info;
int rv; int rv;
if (__ipipe_report_trap(IPIPE_TRAP_BREAK, regs))
return 1;
/* /*
* Tell lockdep we disabled irqs in entry.S. Do nothing if they were * Tell lockdep we disabled irqs in entry.S. Do nothing if they were
* already disabled to preserve the last enabled/disabled addresses. * already disabled to preserve the last enabled/disabled addresses.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment