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-Tag: v2.6.23-rc1~730 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1ed3dda0ad181532f1e0f0d548067fb9fdddac4;p=linux-2.6 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 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;