]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/p2m: Allow alloc_p2m_middle to call reserve_brk depending on argument
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 30 Mar 2012 18:15:14 +0000 (14:15 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 May 2012 18:13:03 +0000 (14:13 -0400)
commit10ad01e18fdfe5878febf21970f488bc537428ff
treed02acf63d612550b9f884ed2927c4f9d51bb7f96
parent713747785192cb3ea2ab850ded003fa51f0e3150
xen/p2m: Allow alloc_p2m_middle to call reserve_brk depending on argument

For identity cases we want to call reserve_brk only on the boundary
conditions of the middle P2M (so P2M[x][y][0] = extend_brk). This is
to work around identify regions (PCI spaces, gaps in E820) which are not
aligned on 2MB regions.

However for the case were we want to allocate P2M middle leafs at the
early bootup stage, irregardless of this alignment check we need some
means of doing that.  For that we provide the new argument.

[upstream git commit cef4cca551d652b7f69c9d76337c5fae24e069dc]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c