diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2010-08-26 20:12:17 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2010-10-22 15:57:23 -0400 |
commit | bbbf61eff92c7c236f57ee1953ad84055443717e (patch) | |
tree | c46de96830f2df068038e99b0b89a064b8e57487 /arch | |
parent | 1f2d9dd309feb08fdbc711fa03841650dfff87d8 (diff) |
xen: make install_p2mtop_page() static
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/xen/mmu.c | 4 | ||||
-rw-r--r-- | arch/x86/xen/mmu.h | 1 |
2 files changed, 2 insertions, 3 deletions
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) | |||
275 | } | 275 | } |
276 | EXPORT_SYMBOL_GPL(get_phys_to_machine); | 276 | EXPORT_SYMBOL_GPL(get_phys_to_machine); |
277 | 277 | ||
278 | /* install a new p2m_top page */ | 278 | /* install a new p2m_top page */ |
279 | bool install_p2mtop_page(unsigned long pfn, unsigned long *p) | 279 | static bool install_p2mtop_page(unsigned long pfn, unsigned long *p) |
280 | { | 280 | { |
281 | unsigned topidx = p2m_top_index(pfn); | 281 | unsigned topidx = p2m_top_index(pfn); |
282 | unsigned long **pfnp, *mfnp; | 282 | 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 { | |||
12 | 12 | ||
13 | 13 | ||
14 | bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn); | 14 | bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn); |
15 | bool install_p2mtop_page(unsigned long pfn, unsigned long *p); | ||
16 | 15 | ||
17 | void set_pte_mfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags); | 16 | void set_pte_mfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags); |
18 | 17 | ||