Skip to content

Commit

Permalink
mm/hugetlb.c: make a function static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Nov 15, 2007
1 parent 90d8b7e commit 8cde045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/hugetlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8cde045

Please sign in to comment.