summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/mmu.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-02-27 00:48:33 +0100
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-04-08 20:51:44 +0200
commite791ca0fd79461ad72559a6e01362da4d7d16253 (patch)
treeeffc71a0e9b54f45e5800b54a611e3d9bda336c7 /arch/x86/xen/mmu.h
parentxen: disable preempt for leave_lazy_mmu (diff)
downloadlinux-e791ca0fd79461ad72559a6e01362da4d7d16253.tar.xz
linux-e791ca0fd79461ad72559a6e01362da4d7d16253.zip
xen: separate p2m allocation from setting
When doing very early p2m setting, we need to separate setting from allocation, so split things up accordingly. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/xen/mmu.h')
-rw-r--r--arch/x86/xen/mmu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/xen/mmu.h b/arch/x86/xen/mmu.h
index 24d1b44a337d..da7302624897 100644
--- a/arch/x86/xen/mmu.h
+++ b/arch/x86/xen/mmu.h
@@ -11,6 +11,9 @@ enum pt_level {
};
+bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn);
+bool install_p2mtop_page(unsigned long pfn, unsigned long *p);
+
void set_pte_mfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags);