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.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h
index fbbde93f12d6..497aea0f41ac 100644
--- a/include/asm-x86/paravirt.h
+++ b/include/asm-x86/paravirt.h
@@ -257,13 +257,13 @@ struct pv_mmu_ops {
257 * Hooks for allocating/releasing pagetable pages when they're 257 * Hooks for allocating/releasing pagetable pages when they're
258 * attached to a pagetable 258 * attached to a pagetable
259 */ 259 */
260 void (*alloc_pte)(struct mm_struct *mm, u32 pfn); 260 void (*alloc_pte)(struct mm_struct *mm, unsigned long pfn);
261 void (*alloc_pmd)(struct mm_struct *mm, u32 pfn); 261 void (*alloc_pmd)(struct mm_struct *mm, unsigned long pfn);
262 void (*alloc_pmd_clone)(u32 pfn, u32 clonepfn, u32 start, u32 count); 262 void (*alloc_pmd_clone)(unsigned long pfn, unsigned long clonepfn, unsigned long start, unsigned long count);
263 void (*alloc_pud)(struct mm_struct *mm, u32 pfn); 263 void (*alloc_pud)(struct mm_struct *mm, unsigned long pfn);
264 void (*release_pte)(u32 pfn); 264 void (*release_pte)(unsigned long pfn);
265 void (*release_pmd)(u32 pfn); 265 void (*release_pmd)(unsigned long pfn);
266 void (*release_pud)(u32 pfn); 266 void (*release_pud)(unsigned long pfn);
267 267
268 /* Pagetable manipulation functions */ 268 /* Pagetable manipulation functions */
269 void (*set_pte)(pte_t *ptep, pte_t pteval); 269 void (*set_pte)(pte_t *ptep, pte_t pteval);
@@ -993,35 +993,35 @@ static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd)
993 PVOP_VCALL2(pv_mmu_ops.pgd_free, mm, pgd); 993 PVOP_VCALL2(pv_mmu_ops.pgd_free, mm, pgd);
994} 994}
995 995
996static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned pfn) 996static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn)
997{ 997{
998 PVOP_VCALL2(pv_mmu_ops.alloc_pte, mm, pfn); 998 PVOP_VCALL2(pv_mmu_ops.alloc_pte, mm, pfn);
999} 999}
1000static inline void paravirt_release_pte(unsigned pfn) 1000static inline void paravirt_release_pte(unsigned long pfn)
1001{ 1001{
1002 PVOP_VCALL1(pv_mmu_ops.release_pte, pfn); 1002 PVOP_VCALL1(pv_mmu_ops.release_pte, pfn);
1003} 1003}
1004 1004
1005static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned pfn) 1005static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn)
1006{ 1006{
1007 PVOP_VCALL2(pv_mmu_ops.alloc_pmd, mm, pfn); 1007 PVOP_VCALL2(pv_mmu_ops.alloc_pmd, mm, pfn);
1008} 1008}
1009 1009
1010static inline void paravirt_alloc_pmd_clone(unsigned pfn, unsigned clonepfn, 1010static inline void paravirt_alloc_pmd_clone(unsigned long pfn, unsigned long clonepfn,
1011 unsigned start, unsigned count) 1011 unsigned long start, unsigned long count)
1012{ 1012{
1013 PVOP_VCALL4(pv_mmu_ops.alloc_pmd_clone, pfn, clonepfn, start, count); 1013 PVOP_VCALL4(pv_mmu_ops.alloc_pmd_clone, pfn, clonepfn, start, count);
1014} 1014}
1015static inline void paravirt_release_pmd(unsigned pfn) 1015static inline void paravirt_release_pmd(unsigned long pfn)
1016{ 1016{
1017 PVOP_VCALL1(pv_mmu_ops.release_pmd, pfn); 1017 PVOP_VCALL1(pv_mmu_ops.release_pmd, pfn);
1018} 1018}
1019 1019
1020static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned pfn) 1020static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned long pfn)
1021{ 1021{
1022 PVOP_VCALL2(pv_mmu_ops.alloc_pud, mm, pfn); 1022 PVOP_VCALL2(pv_mmu_ops.alloc_pud, mm, pfn);
1023} 1023}
1024static inline void paravirt_release_pud(unsigned pfn) 1024static inline void paravirt_release_pud(unsigned long pfn)
1025{ 1025{
1026 PVOP_VCALL1(pv_mmu_ops.release_pud, pfn); 1026 PVOP_VCALL1(pv_mmu_ops.release_pud, pfn);
1027} 1027}