fiq_debugger: Do not call get_irq_regs() when !CONFIG_NO_GKI

__irq_regs is missing from symbol list.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ie16ac110fda0e223b98bd35c96e561644798ef73
This commit is contained in:
Tao Huang
2022-06-10 17:54:30 +08:00
parent 90d1fa66e9
commit 26fdfc8a3d

View File

@@ -1105,7 +1105,11 @@ static irqreturn_t fiq_debugger_uart_irq(int irq, void *dev)
/* handle the debugger irq in regular context */
not_done = fiq_debugger_handle_uart_interrupt(state, smp_processor_id(),
#ifdef CONFIG_NO_GKI
get_irq_regs(),
#else
NULL,
#endif
current_thread_info());
if (not_done)
fiq_debugger_force_irq(state);