aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/paravirt.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2007-05-02 13:27:15 -0400
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 13:27:15 -0400
commita27fe809b82c5e18932fcceded28d0d1481ce7bb (patch)
treeb4d33cd8b3f038a84534d4d3302c0704e3959599 /include/asm-i386/paravirt.h
parentd4c104771a1c58e3de2a888b73b0ba1b54c0ae76 (diff)
[PATCH] i386: PARAVIRT: revert map_pt_hook.
Back out the map_pt_hook to clear the way for kmap_atomic_pte. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Andi Kleen <ak@suse.de> Cc: Zachary Amsden <zach@vmware.com>
Diffstat (limited to 'include/asm-i386/paravirt.h')
-rw-r--r--include/asm-i386/paravirt.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-i386/paravirt.h b/include/asm-i386/paravirt.h
index f880b06d6d56..10f44af76b49 100644
--- a/include/asm-i386/paravirt.h
+++ b/include/asm-i386/paravirt.h
@@ -169,8 +169,6 @@ struct paravirt_ops
169 void (*flush_tlb_others)(const cpumask_t *cpus, struct mm_struct *mm, 169 void (*flush_tlb_others)(const cpumask_t *cpus, struct mm_struct *mm,
170 unsigned long va); 170 unsigned long va);
171 171
172 void (*map_pt_hook)(int type, pte_t *va, u32 pfn);
173
174 /* Hooks for allocating/releasing pagetable pages */ 172 /* Hooks for allocating/releasing pagetable pages */
175 void (*alloc_pt)(u32 pfn); 173 void (*alloc_pt)(u32 pfn);
176 void (*alloc_pd)(u32 pfn); 174 void (*alloc_pd)(u32 pfn);
@@ -862,11 +860,6 @@ static inline void flush_tlb_others(cpumask_t cpumask, struct mm_struct *mm,
862 PVOP_VCALL3(flush_tlb_others, &cpumask, mm, va); 860 PVOP_VCALL3(flush_tlb_others, &cpumask, mm, va);
863} 861}
864 862
865static inline void paravirt_map_pt_hook(int type, pte_t *va, u32 pfn)
866{
867 PVOP_VCALL3(map_pt_hook, type, va, pfn);
868}
869
870static inline void paravirt_alloc_pt(unsigned pfn) 863static inline void paravirt_alloc_pt(unsigned pfn)
871{ 864{
872 PVOP_VCALL1(alloc_pt, pfn); 865 PVOP_VCALL1(alloc_pt, pfn);