--- zzzz-none-000/linux-4.4.271/arch/mips/include/asm/irq.h 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/arch/mips/include/asm/irq.h 2023-01-11 09:25:41.000000000 +0000 @@ -53,7 +53,11 @@ #define irq_canonicalize(irq) (irq) /* Sane hardware, sane code ... */ #endif +#if defined(CONFIG_AVM_SIMPLE_PROFILING) +asmlinkage void plat_irq_dispatch(struct pt_regs *regs); +#else asmlinkage void plat_irq_dispatch(void); +#endif extern void do_IRQ(unsigned int irq); @@ -78,7 +82,4 @@ extern int get_c0_fdc_int(void); -void arch_trigger_all_cpu_backtrace(bool); -#define arch_trigger_all_cpu_backtrace arch_trigger_all_cpu_backtrace - #endif /* _ASM_IRQ_H */