x86: Use __memblock_alloc_base() in early_reserve_e820()
authorTejun Heo <tj@kernel.org>
Tue, 12 Jul 2011 09:15:58 +0000 (11:15 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 14 Jul 2011 18:47:47 +0000 (11:47 -0700)
commitab5d140b9eafae402aa3e673a63c5ef6164a9dd2
tree499d3be0c75ef1f5f8922eae5c2a6428246e9b32
parent0608f70c78a384c2f225f2de226ca057a196f108
x86: Use __memblock_alloc_base() in early_reserve_e820()

early_reserve_e820() implements its own ad-hoc early allocator using
memblock_x86_find_in_range_size().  Use __memblock_alloc_base()
instead and remove the unnecessary @startt parameter (it's top-down
allocation anyway).

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/1310462166-31469-6-git-send-email-tj@kernel.org
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/e820.h
arch/x86/kernel/e820.c
arch/x86/kernel/mpparse.c