Explorar o código

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>
Adrian Bunk %!s(int64=18) %!d(string=hai) anos
pai
achega
8cde045c7e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mm/hugetlb.c

+ 1 - 1
mm/hugetlb.c

@@ -328,7 +328,7 @@ free:
  * 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;