These functions are not used outside memblock. Make them static.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -108,9 +108,6 @@ void memblock_discard(void); · 107 unmodified lines | ||
| 108 | 108 | #define memblock_dbg(fmt, ...) \ |
| 109 | 109 | if (memblock_debug) printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) |
| 110 | 110 | |
| 111 | −phys_addr_t memblock_find_in_range_node(phys_addr_t size, phys_addr_t align, | |
| 112 | − phys_addr_t start, phys_addr_t end, | |
| 113 | − int nid, enum memblock_flags flags); | |
| 114 | 111 | phys_addr_t memblock_find_in_range(phys_addr_t start, phys_addr_t end, |
| 115 | 112 | phys_addr_t size, phys_addr_t align); |
| 116 | 113 | void memblock_allow_resize(void); |
| @@ -127,7 +124,6 @@ int memblock_clear_hotplug(phys_addr_t base, phys_addr_t size); · 10 unmodified lines | ||
| 127 | 124 | int memblock_mark_mirror(phys_addr_t base, phys_addr_t size); |
| 128 | 125 | int memblock_mark_nomap(phys_addr_t base, phys_addr_t size); |
| 129 | 126 | int memblock_clear_nomap(phys_addr_t base, phys_addr_t size); |
| 130 | −enum memblock_flags choose_memblock_flags(void); | |
| 131 | 127 | |
| 132 | 128 | unsigned long memblock_free_all(void); |
| 133 | 129 | void reset_node_managed_pages(pg_data_t *pgdat); |