]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen: defer building p2m mfn structures until kernel is mapped
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 27 Aug 2010 22:18:19 +0000 (15:18 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 22 Oct 2010 19:57:25 +0000 (12:57 -0700)
commit33a847502b0338351cebd8fc0c68ac796cfadbbd
tree58f1628db992d5b358042e5fac9eb2c5fd35bf5f
parentc3798062f100c3e1d4ae1241bc536f3b1f28a6ca
xen: defer building p2m mfn structures until kernel is mapped

When building mfn parts of p2m structure, we rely on being able to
use mfn_to_virt, which in turn requires kernel to be mapped into
the linear area (which is distinct from the kernel image mapping
on 64-bit).  Defer calling xen_build_mfn_list_list() until after
xen_setup_kernel_pagetable();

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/enlighten.c
arch/x86/xen/mmu.c