aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-11-14 19:59:43 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-14 21:45:40 -0500
commit8cde045c7ee97573be6ce495b8f7c918182a2c7a (patch)
tree3370af8536058f1d91e793f150e10b4099d68be5
parent90d8b7e6129e8f4e5b3bc1a2cfbe585372ce8646 (diff)
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>
-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:
328 * allocated to satisfy the reservation must be explicitly freed if they were 328 * allocated to satisfy the reservation must be explicitly freed if they were
329 * never used. 329 * never used.
330 */ 330 */
331void return_unused_surplus_pages(unsigned long unused_resv_pages) 331static void return_unused_surplus_pages(unsigned long unused_resv_pages)
332{ 332{
333 static int nid = -1; 333 static int nid = -1;
334 struct page *page; 334 struct page *page;