diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-03-17 19:37:01 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-24 17:57:31 -0400 |
commit | 6944a9c8945212a0cc1de3589736d59ec542c539 (patch) | |
tree | 3234ea6c8690c9b69d91ab9c9bd3adb0beb4e976 /include/asm-x86/paravirt.h | |
parent | 394158559d4c912cc58c311b6346cdea0ed2b1de (diff) |
x86: rename paravirt_alloc_pt etc after the pagetable structure
Rename (alloc|release)_(pt|pd) to pte/pmd to explicitly match the name
of the appropriate pagetable level structure.
[ x86.git merge work by Mark McLoughlin <markmc@redhat.com> ]
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/paravirt.h')
-rw-r--r-- | include/asm-x86/paravirt.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h index 3d419398499..c4480b9bda5 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 | ||
913 | static inline void paravirt_alloc_pt(struct mm_struct *mm, unsigned pfn) | 913 | static 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 | } |
917 | static inline void paravirt_release_pt(unsigned pfn) | 917 | static 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 | ||
922 | static inline void paravirt_alloc_pd(struct mm_struct *mm, unsigned pfn) | 922 | static 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 | ||
927 | static inline void paravirt_alloc_pd_clone(unsigned pfn, unsigned clonepfn, | 927 | static 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 | } |
932 | static inline void paravirt_release_pd(unsigned pfn) | 932 | static 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 |