diff --git a/mm/hugetlb.c b/mm/hugetlb.c index b52b6ddd6c15b0ef0ea9cbc74b1621436cc1be73..abe1e9f2a942281df9707530610dc0b3c349ac04 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;