--- zzzz-none-000/linux-3.10.107/arch/arm64/include/asm/irq.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm64/include/asm/irq.h 2021-02-04 17:41:59.000000000 +0000 @@ -3,7 +3,13 @@ #include -extern void (*handle_arch_irq)(struct pt_regs *); +struct pt_regs; + extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); +static inline int nr_legacy_irqs(void) +{ + return 0; +} + #endif