--- zzzz-none-000/linux-3.10.107/arch/mips/include/asm/irq.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/arch/mips/include/asm/irq.h 2021-11-10 11:53:53.000000000 +0000 @@ -12,6 +12,9 @@ #include #include #include +#if defined(CONFIG_AVM_ENHANCED) +#include +#endif/*--- #if defined(CONFIG_AVM_ENHANCED) ---*/ #include @@ -42,7 +45,7 @@ #else -static inline void smtc_im_ack_irq(unsigned int irq) +static inline void smtc_im_ack_irq(unsigned int irq __maybe_unused) { } @@ -78,7 +81,10 @@ #else /* Not doing SMTC affinity */ -static inline int handle_on_other_cpu(unsigned int irq) { return 0; } +static inline int handle_on_other_cpu(unsigned int irq __maybe_unused) +{ + return 0; +} #endif /* CONFIG_MIPS_MT_SMTC_IRQAFF */ @@ -108,7 +114,7 @@ #else -static inline void smtc_im_backstop(unsigned int irq) { } +static inline void smtc_im_backstop(unsigned int irq __maybe_unused) { } static inline int smtc_handle_on_other_cpu(unsigned int irq) { return handle_on_other_cpu(irq);