Skip to content

Commit

Permalink
xen: make install_p2mtop_page() static
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
Jeremy Fitzhardinge committed Oct 22, 2010
1 parent 1f2d9dd commit bbbf61e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arch/x86/xen/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion arch/x86/xen/mmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit bbbf61e

Please sign in to comment.