aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/paravirt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/paravirt.h')
-rw-r--r--include/asm-x86/paravirt.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h
index 3d419398499b..c4480b9bda5d 100644
--- a/include/asm-x86/paravirt.h
+++ b/include/asm-x86/paravirt.h
@@ -220,11 +220,11 @@ struct pv_mmu_ops {
220 unsigned long va); 220 unsigned long va);
221 221
222 /* Hooks for allocating/releasing pagetable pages */ 222 /* Hooks for allocating/releasing pagetable pages */
223 void (*alloc_pt)(struct mm_struct *mm, u32 pfn); 223 void (*alloc_pte)(struct mm_struct *mm, u32 pfn);
224 void (*alloc_pd)(struct mm_struct *mm, u32 pfn); 224 void (*alloc_pmd)(struct mm_struct *mm, u32 pfn);
225 void (*alloc_pd_clone)(u32 pfn, u32 clonepfn, u32 start, u32 count); 225 void (*alloc_pmd_clone)(u32 pfn, u32 clonepfn, u32 start, u32 count);
226 void (*release_pt)(u32 pfn); 226 void (*release_pte)(u32 pfn);
227 void (*release_pd)(u32 pfn); 227 void (*release_pmd)(u32 pfn);
228 228
229 /* Pagetable manipulation functions */ 229 /* Pagetable manipulation functions */
230 void (*set_pte)(pte_t *ptep, pte_t pteval); 230 void (*set_pte)(pte_t *ptep, pte_t pteval);
@@ -910,28 +910,28 @@ static inline void flush_tlb_others(cpumask_t cpumask, struct mm_struct *mm,
910 PVOP_VCALL3(pv_mmu_ops.flush_tlb_others, &cpumask, mm, va); 910 PVOP_VCALL3(pv_mmu_ops.flush_tlb_others, &cpumask, mm, va);
911} 911}
912 912
913static inline void paravirt_alloc_pt(struct mm_struct *mm, unsigned pfn) 913static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned pfn)
914{ 914{
915 PVOP_VCALL2(pv_mmu_ops.alloc_pt, mm, pfn); 915 PVOP_VCALL2(pv_mmu_ops.alloc_pte, mm, pfn);
916} 916}
917static inline void paravirt_release_pt(unsigned pfn) 917static inline void paravirt_release_pte(unsigned pfn)
918{ 918{
919 PVOP_VCALL1(pv_mmu_ops.release_pt, pfn); 919 PVOP_VCALL1(pv_mmu_ops.release_pte, pfn);
920} 920}
921 921
922static inline void paravirt_alloc_pd(struct mm_struct *mm, unsigned pfn) 922static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned pfn)
923{ 923{
924 PVOP_VCALL2(pv_mmu_ops.alloc_pd, mm, pfn); 924 PVOP_VCALL2(pv_mmu_ops.alloc_pmd, mm, pfn);
925} 925}
926 926
927static inline void paravirt_alloc_pd_clone(unsigned pfn, unsigned clonepfn, 927static inline void paravirt_alloc_pmd_clone(unsigned pfn, unsigned clonepfn,
928 unsigned start, unsigned count) 928 unsigned start, unsigned count)
929{ 929{
930 PVOP_VCALL4(pv_mmu_ops.alloc_pd_clone, pfn, clonepfn, start, count); 930 PVOP_VCALL4(pv_mmu_ops.alloc_pmd_clone, pfn, clonepfn, start, count);
931} 931}
932static inline void paravirt_release_pd(unsigned pfn) 932static inline void paravirt_release_pmd(unsigned pfn)
933{ 933{
934 PVOP_VCALL1(pv_mmu_ops.release_pd, pfn); 934 PVOP_VCALL1(pv_mmu_ops.release_pmd, pfn);
935} 935}
936 936
937#ifdef CONFIG_HIGHPTE 937#ifdef CONFIG_HIGHPTE