Commit bbbf61ef authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge

xen: make install_p2mtop_page() static

Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent 1f2d9dd3
...@@ -275,8 +275,8 @@ unsigned long get_phys_to_machine(unsigned long pfn) ...@@ -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;
......
...@@ -12,7 +12,6 @@ enum pt_level { ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment