Commit 8cde045c authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

mm/hugetlb.c: make a function static

return_unused_surplus_pages() can become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarAdam Litke <agl@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 90d8b7e6
...@@ -328,7 +328,7 @@ static int gather_surplus_pages(int delta) ...@@ -328,7 +328,7 @@ static int gather_surplus_pages(int delta)
* allocated to satisfy the reservation must be explicitly freed if they were * allocated to satisfy the reservation must be explicitly freed if they were
* never used. * 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; static int nid = -1;
struct page *page; struct page *page;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment