]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - include/linux/memory_hotplug.h
ACPI / memhotplug: Bind removable memory blocks to ACPI device nodes
[linux-imx.git] / include / linux / memory_hotplug.h
index 3e622c6109255650896ce67e141403ec1d36479e..2975b7b2a9d8f0df95cd947ffa98e281bef1c2d5 100644 (file)
@@ -245,6 +245,8 @@ static inline int is_mem_section_removable(unsigned long pfn,
 static inline void try_offline_node(int nid) {}
 #endif /* CONFIG_MEMORY_HOTREMOVE */
 
+extern int walk_memory_range(unsigned long start_pfn, unsigned long end_pfn,
+               void *arg, int (*func)(struct memory_block *, void *));
 extern int mem_online_node(int nid);
 extern int add_memory(int nid, u64 start, u64 size);
 extern int arch_add_memory(int nid, u64 start, u64 size);