]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/p2m: An early bootup variant of set_phys_to_machine
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 30 Mar 2012 18:33:14 +0000 (14:33 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 May 2012 18:14:43 +0000 (14:14 -0400)
commit4ce25c3ce5b04d223f8dcf3d275bb83f49e96bd3
tree5c84bf5e1f507ceba27636516cade2653dc65667
parent98820e53b9e6d512f8276bfc5381d8c813f59c57
xen/p2m: An early bootup variant of set_phys_to_machine

During early bootup we can't use alloc_page, so to allocate
leaf pages in the P2M we need to use extend_brk. For that
we are utilizing the early_alloc_p2m and early_alloc_p2m_middle
functions to do the job for us. This function follows the
same logic as set_phys_to_machine.

[upstream git commit 940713bb2ce3033f468a220094a07250a2f69bdd]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/xen/page.h
arch/x86/xen/p2m.c