From a1ed3dda0ad181532f1e0f0d548067fb9fdddac4 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Tue, 17 Jul 2007 04:03:33 -0700 Subject: [PATCH] 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 --- mm/hugetlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 58980676b8..6912bbf33f 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; -- 2.39.5