kernel/arch/arm64/kernel/traps.c
.. .. @@ -48,6 +48,10 @@ 48 48 49 49 #include <trace/hooks/traps.h> 50 50 51 +#if IS_ENABLED(CONFIG_ROCKCHIP_MINIDUMP)52 +#include <soc/rockchip/rk_minidump.h>53 +#endif54 +51 55 static const char *handler[]= { 52 56 "Synchronous Abort", 53 57 "IRQ", .. .. @@ -123,6 +127,9 @@ 123 127 int ret; 124 128 unsigned long flags; 125 129 130 +#if IS_ENABLED(CONFIG_ROCKCHIP_MINIDUMP)131 + rk_minidump_update_cpu_regs(regs);132 +#endif126 133 raw_spin_lock_irqsave(&die_lock, flags); 127 134 128 135 oops_enter();