diff options
Diffstat (limited to 'include/linux/memory_hotplug.h')
| -rw-r--r-- | include/linux/memory_hotplug.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h index 475aff8efbf8..2d636a7491a4 100644 --- a/include/linux/memory_hotplug.h +++ b/include/linux/memory_hotplug.h | |||
| @@ -346,9 +346,10 @@ extern int add_memory_resource(int nid, struct resource *resource); | |||
| 346 | extern void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn, | 346 | extern void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn, |
| 347 | unsigned long nr_pages, struct vmem_altmap *altmap); | 347 | unsigned long nr_pages, struct vmem_altmap *altmap); |
| 348 | extern bool is_memblock_offlined(struct memory_block *mem); | 348 | extern bool is_memblock_offlined(struct memory_block *mem); |
| 349 | extern int sparse_add_one_section(int nid, unsigned long start_pfn, | 349 | extern int sparse_add_section(int nid, unsigned long pfn, |
| 350 | struct vmem_altmap *altmap); | 350 | unsigned long nr_pages, struct vmem_altmap *altmap); |
| 351 | extern void sparse_remove_one_section(struct mem_section *ms, | 351 | extern void sparse_remove_one_section(struct mem_section *ms, |
| 352 | unsigned long pfn, unsigned long nr_pages, | ||
| 352 | unsigned long map_offset, struct vmem_altmap *altmap); | 353 | unsigned long map_offset, struct vmem_altmap *altmap); |
| 353 | extern struct page *sparse_decode_mem_map(unsigned long coded_mem_map, | 354 | extern struct page *sparse_decode_mem_map(unsigned long coded_mem_map, |
| 354 | unsigned long pnum); | 355 | unsigned long pnum); |
