xen64: use arbitrary_virt_to_machine for xen_set_pmd
commitce803e705f1cbdd2703e83061622089b5b4a5417
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 8 Jul 2008 22:06:55 +0000 (8 15:06 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Jul 2008 09:01:17 +0000 (16 11:01 +0200)
treef6f0bb63a2062bc983ca45b823982ed1b5a3bb63
parentebd879e397f6361727c36267a12d1650710e465a
xen64: use arbitrary_virt_to_machine for xen_set_pmd

When building initial pagetables in 64-bit kernel the pud/pmd pointer may
be in ioremap/fixmap space, so we need to walk the pagetable to look up the
physical address.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/mmu.c
include/asm-x86/xen/page.h