summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-07-17 15:03:33 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 21:23:02 +0400
commita1ed3dda0ad181532f1e0f0d548067fb9fdddac4 (patch)
treedbbb62a8a1816e24369caca1886576154b588340 /mm
parentb5fab14e5d87df4d94161ae5f5e0c8625f9ffda2 (diff)
downloadlinux-a1ed3dda0ad181532f1e0f0d548067fb9fdddac4.tar.xz
MM: Make needlessly global hugetlb_no_page() static.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/hugetlb.c2
1 files changed, 1 insertions, 1 deletions
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;