--- zzzz-none-000/linux-3.10.107/arch/mips/include/asm/pgtable.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/arch/mips/include/asm/pgtable.h 2021-11-10 11:53:54.000000000 +0000 @@ -188,7 +188,8 @@ } #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval) -static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) +static inline void pte_clear(struct mm_struct *mm __maybe_unused, + unsigned long addr __maybe_unused, pte_t *ptep) { #if !defined(CONFIG_CPU_R3000) && !defined(CONFIG_CPU_TX39XX) /* Preserve global status for the pair */ @@ -347,7 +348,7 @@ } #endif /* _PAGE_HUGE */ #endif -static inline int pte_special(pte_t pte) { return 0; } +static inline int pte_special(pte_t pte __maybe_unused) { return 0; } static inline pte_t pte_mkspecial(pte_t pte) { return pte; } /*