diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-07-17 07:03:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:02 -0400 |
commit | a1ed3dda0ad181532f1e0f0d548067fb9fdddac4 (patch) | |
tree | dbbb62a8a1816e24369caca1886576154b588340 | |
parent | b5fab14e5d87df4d94161ae5f5e0c8625f9ffda2 (diff) |
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>
-rw-r--r-- | mm/hugetlb.c | 2 |
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, | |||
498 | return VM_FAULT_MINOR; | 498 | return VM_FAULT_MINOR; |
499 | } | 499 | } |
500 | 500 | ||
501 | int hugetlb_no_page(struct mm_struct *mm, struct vm_area_struct *vma, | 501 | static int hugetlb_no_page(struct mm_struct *mm, struct vm_area_struct *vma, |
502 | unsigned long address, pte_t *ptep, int write_access) | 502 | unsigned long address, pte_t *ptep, int write_access) |
503 | { | 503 | { |
504 | int ret = VM_FAULT_SIGBUS; | 504 | int ret = VM_FAULT_SIGBUS; |