22 Dec
2016
22 Dec
'16
2:05 p.m.
Make sure any interrupt handler can run after a panic.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/include/reef/debug.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/include/reef/debug.h b/src/include/reef/debug.h index 4fa6999..2bee8e6 100644 --- a/src/include/reef/debug.h +++ b/src/include/reef/debug.h @@ -122,6 +122,7 @@ /* panic and stop executing any more code */ #define panic(_p) \ do { \ + interrupt_global_disable(); \ dbg_val(0xdead0000 | _p) \ platform_panic(_p); \ while(1) {}; \
--
2.9.3