]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 26 Apr 2012 20:59:52 +0000 (16:59 -0400)
commit07cc39e7e2001d7ff569ca54aa5c17df3540597a
treeb982d933c9fb0fb056b5483c203fde8ac214d4dd
parenta6bc319093296a89313d9ea619167194cceae97f
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.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/xen/page.h
arch/x86/xen/p2m.c