forked from luck/tmp_suning_uos_patched
xen: make install_p2mtop_page() static
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
parent
1f2d9dd309
commit
bbbf61eff9
|
@ -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 {
|
||||||
|
|
||||||
|
|
||||||
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user