lkml.org 
[lkml]   [2008]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] make mm/hugetlb.c:unmap_ref_private() static
This patch makes the needlessly global unmap_ref_private() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
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;


\
 
 \ /
  Last update: 2008-08-19 15:51    [W:0.082 / U:2.420 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site