summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/memblock.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2010-08-25 20:39:15 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2010-08-27 18:08:21 (GMT)
commit27de794365786b4cdc3461ed4e23af2a33f40612 (patch)
tree7aa2ab1a7f21ed2f91647f8a73ed2e0ebf45048f /arch/x86/include/asm/memblock.h
parentf88eff74aa848e58b1ea49768c0bbb874b31357f (diff)
downloadlinux-fsl-qoriq-27de794365786b4cdc3461ed4e23af2a33f40612.tar.xz
x86, memblock: Add memblock_x86_to_bootmem()
memblock_x86_to_bootmem() will reserve memblock.reserved.region in bootmem after bootmem is set up. We can use it to with all arches that support memblock later. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/memblock.h')
-rw-r--r--arch/x86/include/asm/memblock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/memblock.h b/arch/x86/include/asm/memblock.h
index c14219a..69cf853 100644
--- a/arch/x86/include/asm/memblock.h
+++ b/arch/x86/include/asm/memblock.h
@@ -4,5 +4,6 @@
#define ARCH_DISCARD_MEMBLOCK
u64 memblock_x86_find_in_range_size(u64 start, u64 *sizep, u64 align);
+void memblock_x86_to_bootmem(u64 start, u64 end);
#endif