summaryrefslogtreecommitdiff
path: root/include/linux/memory.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2019-11-18 14:41:02 +0100
committerIngo Molnar <mingo@kernel.org>2019-11-18 14:41:02 +0100
commitb21feab0b865c36b24d7a60b55a10c7033b03159 (patch)
tree17085747485ffad55b90839b43646d453b8e5079 /include/linux/memory.h
parenta9723389cc759c891d481de271ac73eeaa123bcb (diff)
parentaf42d3466bdc8f39806b26f593604fdc54140bcb (diff)
Merge tag 'v5.4-rc8' into sched/core, to pick up fixes and dependencies
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/memory.h')
-rw-r--r--include/linux/memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/memory.h b/include/linux/memory.h
index 0ebb105eb261..4c75dae8dd29 100644
--- a/include/linux/memory.h
+++ b/include/linux/memory.h
@@ -119,6 +119,7 @@ extern struct memory_block *find_memory_block(struct mem_section *);
typedef int (*walk_memory_blocks_func_t)(struct memory_block *, void *);
extern int walk_memory_blocks(unsigned long start, unsigned long size,
void *arg, walk_memory_blocks_func_t func);
+extern int for_each_memory_block(void *arg, walk_memory_blocks_func_t func);
#define CONFIG_MEM_BLOCK_SIZE (PAGES_PER_SECTION<<PAGE_SHIFT)
#endif /* CONFIG_MEMORY_HOTPLUG_SPARSE */