History

memblock: replace free_bootmem_late with memblock_free_late

The free_bootmem_late and memblock_free_late do exactly the same thing: they iterate over a range and give pages to the page allocator. Replace calls to free_bootmem_late with calls to memblock_free_late and remove the bootmem variant.

Mike Rapoport committed 8 years ago

Commit 53ab85e1 parent 20132885 files · +6 −31Browse files

Showing the changes to include/linux (1 of 5 files). Show all

Unified · Split

include/linux/bootmem.h+0−2
@@ -30,8 +30,6 @@ extern unsigned long free_all_bootmem(void); · 29 unmodified lines
30extern void reset_node_managed_pages(pg_data_t *pgdat);30extern void reset_node_managed_pages(pg_data_t *pgdat);
31extern void reset_all_zones_managed_pages(void);31extern void reset_all_zones_managed_pages(void);
32 32
33extern void free_bootmem_late(unsigned long physaddr, unsigned long size);
34
35/* We are using top down, so it is safe to use 0 here */33/* We are using top down, so it is safe to use 0 here */
36#define BOOTMEM_LOW_LIMIT 034#define BOOTMEM_LOW_LIMIT 0
37 35

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t