]> Pileus Git - ~andy/linux/blobdiff - include/linux/memory_hotplug.h
memory-hotplug: check whether all memory blocks are offlined or not when removing...
[~andy/linux] / include / linux / memory_hotplug.h
index 4a45c4e500253a68c4b7f1dc59f0f31e9a26eeae..8dd0950a6a7a122b2aae6bfe016de4c5b6de4f4f 100644 (file)
@@ -247,6 +247,7 @@ extern int add_memory(int nid, u64 start, u64 size);
 extern int arch_add_memory(int nid, u64 start, u64 size);
 extern int offline_pages(unsigned long start_pfn, unsigned long nr_pages);
 extern int offline_memory_block(struct memory_block *mem);
+extern bool is_memblock_offlined(struct memory_block *mem);
 extern int remove_memory(u64 start, u64 size);
 extern int sparse_add_one_section(struct zone *zone, unsigned long start_pfn,
                                                                int nr_pages);