[2.6 patch] make mm/hugetlb.c:unmap_ref_private() static

From: Adrian Bunk
Date: Tue Aug 19 2008 - 09:47:35 EST


This patch makes the needlessly global unmap_ref_private() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
4e1c826ff4f7503f5e33c2ad1307cf6b4d2b5758
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index c3bb4d6..0c2d6f6 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -1742,10 +1742,8 @@ void unmap_hugepage_range(struct vm_area_struct *vma, unsigned long start,
* from other VMAs and let the children be SIGKILLed if they are faulting the
* same region.
*/
-int unmap_ref_private(struct mm_struct *mm,
- struct vm_area_struct *vma,
- struct page *page,
- unsigned long address)
+static int unmap_ref_private(struct mm_struct *mm, struct vm_area_struct *vma,
+ struct page *page, unsigned long address)
{
struct vm_area_struct *iter_vma;
struct address_space *mapping;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/