aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memblock.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2010-08-25 13:39:14 -0700
committerH. Peter Anvin <hpa@zytor.com>2010-08-27 11:07:56 -0700
commit7950c407c0288b223a200c1bba8198941599ca37 (patch)
tree4d7ad677fa918630cc29363c197d2593198727be /include/linux/memblock.h
parentmemblock: Add memblock_find_in_range() (diff)
downloadlinux-dev-7950c407c0288b223a200c1bba8198941599ca37.tar.xz
linux-dev-7950c407c0288b223a200c1bba8198941599ca37.zip
memblock: Add memblock_free/reserve_reserved_regions()
So we can avoid export memblock_reserved_init_regions() Suggested by Ben. -v2: use __init_memblock attribute Signed-off-by: Yinghai Lu <yinghai@kernel.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/linux/memblock.h')
-rw-r--r--include/linux/memblock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index 4df09bdcae42..7d285271130d 100644
--- a/include/linux/memblock.h
+++ b/include/linux/memblock.h
@@ -48,6 +48,8 @@ extern int memblock_can_resize;
if (memblock_debug) printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
u64 memblock_find_in_range(u64 start, u64 end, u64 size, u64 align);
+int memblock_free_reserved_regions(void);
+int memblock_reserve_reserved_regions(void);
extern void __init memblock_init(void);
extern void __init memblock_analyze(void);