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 cba612c89e06..d7d358a43996 100644
--- a/include/asm-x86/paravirt.h
+++ b/include/asm-x86/paravirt.h
@@ -252,13 +252,13 @@ struct pv_mmu_ops {
252 * Hooks for allocating/releasing pagetable pages when they're 252 * Hooks for allocating/releasing pagetable pages when they're
253 * attached to a pagetable 253 * attached to a pagetable
254 */ 254 */
255 void (*alloc_pte)(struct mm_struct *mm, u32 pfn); 255 void (*alloc_pte)(struct mm_struct *mm, unsigned long pfn);
256 void (*alloc_pmd)(struct mm_struct *mm, u32 pfn); 256 void (*alloc_pmd)(struct mm_struct *mm, unsigned long pfn);
257 void (*alloc_pmd_clone)(u32 pfn, u32 clonepfn, u32 start, u32 count); 257 void (*alloc_pmd_clone)(unsigned long pfn, unsigned long clonepfn, unsigned long start, unsigned long count);
258 void (*alloc_pud)(struct mm_struct *mm, u32 pfn); 258 void (*alloc_pud)(struct mm_struct *mm, unsigned long pfn);
259 void (*release_pte)(u32 pfn); 259 void (*release_pte)(unsigned long pfn);
260 void (*release_pmd)(u32 pfn); 260 void (*release_pmd)(unsigned long pfn);
261 void (*release_pud)(u32 pfn); 261 void (*release_pud)(unsigned long pfn);
262 262
263 /* Pagetable manipulation functions */ 263 /* Pagetable manipulation functions */
264 void (*set_pte)(pte_t *ptep, pte_t pteval); 264 void (*set_pte)(pte_t *ptep, pte_t pteval);
@@ -986,35 +986,35 @@ static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *pgd)
986 PVOP_VCALL2(pv_mmu_ops.pgd_free, mm, pgd); 986 PVOP_VCALL2(pv_mmu_ops.pgd_free, mm, pgd);
987} 987}
988 988
989static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned pfn) 989static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn)
990{ 990{
991 PVOP_VCALL2(pv_mmu_ops.alloc_pte, mm, pfn); 991 PVOP_VCALL2(pv_mmu_ops.alloc_pte, mm, pfn);
992} 992}
993static inline void paravirt_release_pte(unsigned pfn) 993static inline void paravirt_release_pte(unsigned long pfn)
994{ 994{
995 PVOP_VCALL1(pv_mmu_ops.release_pte, pfn); 995 PVOP_VCALL1(pv_mmu_ops.release_pte, pfn);
996} 996}
997 997
998static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned pfn) 998static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn)
999{ 999{
1000 PVOP_VCALL2(pv_mmu_ops.alloc_pmd, mm, pfn); 1000 PVOP_VCALL2(pv_mmu_ops.alloc_pmd, mm, pfn);
1001} 1001}
1002 1002
1003static inline void paravirt_alloc_pmd_clone(unsigned pfn, unsigned clonepfn, 1003static inline void paravirt_alloc_pmd_clone(unsigned long pfn, unsigned long clonepfn,
1004 unsigned start, unsigned count) 1004 unsigned long start, unsigned long count)
1005{ 1005{
1006 PVOP_VCALL4(pv_mmu_ops.alloc_pmd_clone, pfn, clonepfn, start, count); 1006 PVOP_VCALL4(pv_mmu_ops.alloc_pmd_clone, pfn, clonepfn, start, count);
1007} 1007}
1008static inline void paravirt_release_pmd(unsigned pfn) 1008static inline void paravirt_release_pmd(unsigned long pfn)
1009{ 1009{
1010 PVOP_VCALL1(pv_mmu_ops.release_pmd, pfn); 1010 PVOP_VCALL1(pv_mmu_ops.release_pmd, pfn);
1011} 1011}
1012 1012
1013static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned pfn) 1013static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned long pfn)
1014{ 1014{
1015 PVOP_VCALL2(pv_mmu_ops.alloc_pud, mm, pfn); 1015 PVOP_VCALL2(pv_mmu_ops.alloc_pud, mm, pfn);
1016} 1016}
1017static inline void paravirt_release_pud(unsigned pfn) 1017static inline void paravirt_release_pud(unsigned long pfn)
1018{ 1018{
1019 PVOP_VCALL1(pv_mmu_ops.release_pud, pfn); 1019 PVOP_VCALL1(pv_mmu_ops.release_pud, pfn);
1020} 1020}