diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index a373e9f59fd4..b743272eacb3 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -593,8 +593,8 @@ static inline bool arch_has_strict_perms(void) return !!(get_cr() & CR_XP); } -void set_section_perms(struct section_perm *perms, int n, bool set, - struct mm_struct *mm) +static void set_section_perms(struct section_perm *perms, int n, bool set, + struct mm_struct *mm) { size_t i; unsigned long addr;