mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user