xen/p2m: Move code around to allow for better re-usage.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 30 Mar 2012 15:45:01 +0000 (11:45 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 6 Apr 2012 21:02:59 +0000 (17:02 -0400)
commit3f3aaea29ff7ee2d43b430338427f30ba7f60ff9
tree476d2c406d376f80e8ce725a7e4e4c98e18aece1
parentf09d8432e39797abf39531f41ac8a46a3fbf442a
xen/p2m: Move code around to allow for better re-usage.

We are going to be using the early_alloc_p2m (and
early_alloc_p2m_middle) code in follow up patches which
are not related to setting identity pages.

Hence lets move the code out in its own function and
rename them as appropiate.

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