--- zzzz-none-000/linux-4.1.52/include/linux/mm_types.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/include/linux/mm_types.h 2022-03-02 11:37:13.000000000 +0000 @@ -459,7 +459,7 @@ #endif }; -static inline void mm_init_cpumask(struct mm_struct *mm) +static inline void mm_init_cpumask(struct mm_struct *mm __maybe_unused) { #ifdef CONFIG_CPUMASK_OFFSTACK mm->cpu_vm_mask_var = &mm->cpumask_allocation; @@ -502,14 +502,14 @@ mm->tlb_flush_pending = false; } #else -static inline bool mm_tlb_flush_pending(struct mm_struct *mm) +static inline bool mm_tlb_flush_pending(struct mm_struct *mm __maybe_unused) { return false; } -static inline void set_tlb_flush_pending(struct mm_struct *mm) +static inline void set_tlb_flush_pending(struct mm_struct *mm __maybe_unused) { } -static inline void clear_tlb_flush_pending(struct mm_struct *mm) +static inline void clear_tlb_flush_pending(struct mm_struct *mm __maybe_unused) { } #endif