memblock: Allow memblock_init to be called early
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 6 Oct 2010 22:52:29 +0000 (15:52 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 11 Oct 2010 22:59:01 +0000 (15:59 -0700)
The Xen setup code needs to call memblock_x86_reserve_range() very early,
so allow it to initialize the memblock subsystem before doing so.  The
second memblock_init() is ignored.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
LKML-Reference: <4CACFDAD.3090900@goop.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

No differences found