diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-07-17 13:03:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 19:23:02 +0200 |
commit | a1ed3dda0ad181532f1e0f0d548067fb9fdddac4 (patch) | |
tree | dbbb62a8a1816e24369caca1886576154b588340 | |
parent | Add VM_BUG_ON in case someone uses page_mapping on a slab page (diff) | |
download | linux-a1ed3dda0ad181532f1e0f0d548067fb9fdddac4.tar.xz linux-a1ed3dda0ad181532f1e0f0d548067fb9fdddac4.zip |
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, 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; |