summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorAdrian Bunk2007-11-15 01:59:43 +0100
committerLinus Torvalds2007-11-15 03:45:40 +0100
commit8cde045c7ee97573be6ce495b8f7c918182a2c7a (patch)
tree3370af8536058f1d91e793f150e10b4099d68be5 /mm/hugetlb.c
parenthugetlb: enforce quotas during reservation for shared mappings (diff)
downloadkernel-qcow2-linux-8cde045c7ee97573be6ce495b8f7c918182a2c7a.tar.gz
kernel-qcow2-linux-8cde045c7ee97573be6ce495b8f7c918182a2c7a.tar.xz
kernel-qcow2-linux-8cde045c7ee97573be6ce495b8f7c918182a2c7a.zip
mm/hugetlb.c: make a function static
return_unused_surplus_pages() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Adam Litke <agl@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r--mm/hugetlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index b52b6ddd6c15..abe1e9f2a942 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -328,7 +328,7 @@ free:
* allocated to satisfy the reservation must be explicitly freed if they were
* never used.
*/
-void return_unused_surplus_pages(unsigned long unused_resv_pages)
+static void return_unused_surplus_pages(unsigned long unused_resv_pages)
{
static int nid = -1;
struct page *page;