diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-11-14 19:59:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-14 21:45:40 -0500 |
commit | 8cde045c7ee97573be6ce495b8f7c918182a2c7a (patch) | |
tree | 3370af8536058f1d91e793f150e10b4099d68be5 /mm/hugetlb.c | |
parent | 90d8b7e6129e8f4e5b3bc1a2cfbe585372ce8646 (diff) |
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>
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r-- | mm/hugetlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ free: | |||
328 | * allocated to satisfy the reservation must be explicitly freed if they were | 328 | * allocated to satisfy the reservation must be explicitly freed if they were |
329 | * never used. | 329 | * never used. |
330 | */ | 330 | */ |
331 | void return_unused_surplus_pages(unsigned long unused_resv_pages) | 331 | static void return_unused_surplus_pages(unsigned long unused_resv_pages) |
332 | { | 332 | { |
333 | static int nid = -1; | 333 | static int nid = -1; |
334 | struct page *page; | 334 | struct page *page; |