xen: make install_p2mtop_page() static

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
Jeremy Fitzhardinge 2010-08-26 17:12:17 -07:00
parent 1f2d9dd309
commit bbbf61eff9
2 changed files with 2 additions and 3 deletions

View File

@ -275,8 +275,8 @@ unsigned long get_phys_to_machine(unsigned long pfn)
} }
EXPORT_SYMBOL_GPL(get_phys_to_machine); EXPORT_SYMBOL_GPL(get_phys_to_machine);
/* install a new p2m_top page */ /* install a new p2m_top page */
bool install_p2mtop_page(unsigned long pfn, unsigned long *p) static bool install_p2mtop_page(unsigned long pfn, unsigned long *p)
{ {
unsigned topidx = p2m_top_index(pfn); unsigned topidx = p2m_top_index(pfn);
unsigned long **pfnp, *mfnp; unsigned long **pfnp, *mfnp;

View File

@ -12,7 +12,6 @@ enum pt_level {
bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn); 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); void set_pte_mfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags);