Commit e1280be0 authored by Jiang Liu's avatar Jiang Liu Committed by Linus Torvalds
Browse files

mm: kill free_all_bootmem_node()

Now nobody makes use of free_all_bootmem_node(), kill it.
Signed-off-by: default avatarJiang Liu <>
Cc: Johannes Weiner <>
Cc: "David S. Miller" <>
Cc: Yinghai Lu <>
Acked-by: default avatarTejun Heo <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent e3a466b2
......@@ -44,7 +44,6 @@ extern unsigned long init_bootmem_node(pg_data_t *pgdat,
unsigned long endpfn);
extern unsigned long init_bootmem(unsigned long addr, unsigned long memend);
extern unsigned long free_all_bootmem_node(pg_data_t *pgdat);
extern unsigned long free_all_bootmem(void);
extern void reset_all_zones_managed_pages(void);
......@@ -263,24 +263,6 @@ void __init reset_all_zones_managed_pages(void)
reset_managed_pages_done = 1;
* free_all_bootmem_node - release a node's free pages to the buddy allocator
* @pgdat: node to be released
* Returns the number of pages actually released.
unsigned long __init free_all_bootmem_node(pg_data_t *pgdat)
unsigned long pages;
pages = free_all_bootmem_core(pgdat->bdata);
totalram_pages += pages;
return pages;
* free_all_bootmem - release free pages to the buddy allocator
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment