From: Jeremy Fitzhardinge Date: Fri, 27 Aug 2010 00:12:17 +0000 (-0700) Subject: xen: make install_p2mtop_page() static X-Git-Tag: firefly_0821_release~7613^2~3616^3~19 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bbbf61eff92c7c236f57ee1953ad84055443717e;p=firefly-linux-kernel-4.4.55.git xen: make install_p2mtop_page() static Signed-off-by: Jeremy Fitzhardinge --- diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index fcff8c829799..00969099b057 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -275,8 +275,8 @@ unsigned long get_phys_to_machine(unsigned long pfn) } EXPORT_SYMBOL_GPL(get_phys_to_machine); -/* install a new p2m_top page */ -bool install_p2mtop_page(unsigned long pfn, unsigned long *p) +/* install a new p2m_top page */ +static bool install_p2mtop_page(unsigned long pfn, unsigned long *p) { unsigned topidx = p2m_top_index(pfn); unsigned long **pfnp, *mfnp; diff --git a/arch/x86/xen/mmu.h b/arch/x86/xen/mmu.h index fa938c4aa2f7..537bb9aab777 100644 --- a/arch/x86/xen/mmu.h +++ b/arch/x86/xen/mmu.h @@ -12,7 +12,6 @@ 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);