提交 8cde045c 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

mm/hugetlb.c: make a function static

return_unused_surplus_pages() can become static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Acked-by: NAdam Litke <agl@us.ibm.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册