]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/memory.h
driver core: Introduce find_memory_block_hinted which utilizes kset_find_obj_hinted.
[karo-tx-linux.git] / include / linux / memory.h
index 85582e1bcee900bd219c60169a708a2a38dca8e1..c4f3127dbd4807f4a23f740125c6a2886fcde551 100644 (file)
@@ -113,6 +113,8 @@ extern int memory_dev_init(void);
 extern int remove_memory_block(unsigned long, struct mem_section *, int);
 extern int memory_notify(unsigned long val, void *v);
 extern int memory_isolate_notify(unsigned long val, void *v);
+extern struct memory_block *find_memory_block_hinted(struct mem_section *,
+                                                       struct memory_block *);
 extern struct memory_block *find_memory_block(struct mem_section *);
 #define CONFIG_MEM_BLOCK_SIZE  (PAGES_PER_SECTION<<PAGE_SHIFT)
 enum mem_add_context { BOOT, HOTPLUG };