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 @@ static int gather_surplus_pages(int delta) * 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;