From: Robert P. J. Day Date: Tue, 17 Jul 2007 11:03:33 +0000 (-0700) Subject: MM: Make needlessly global hugetlb_no_page() static. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a1ed3dda0ad181532f1e0f0d548067fb9fdddac4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git MM: Make needlessly global hugetlb_no_page() static. Signed-off-by: Robert P. J. Day Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 58980676b842..6912bbf33faa 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -498,7 +498,7 @@ static int hugetlb_cow(struct mm_struct *mm, struct vm_area_struct *vma, return VM_FAULT_MINOR; } -int hugetlb_no_page(struct mm_struct *mm, struct vm_area_struct *vma, +static int hugetlb_no_page(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long address, pte_t *ptep, int write_access) { int ret = VM_FAULT_SIGBUS;