mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 08:05:27 +08:00
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>
This commit is contained in:
parent
90d8b7e612
commit
8cde045c7e
@ -328,7 +328,7 @@ free:
|
||||
* 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;
|
||||
|
Loading…
Reference in New Issue
Block a user