aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/paravirt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/paravirt.h')
-rw-r--r--include/asm-i386/paravirt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-i386/paravirt.h b/include/asm-i386/paravirt.h
index a35c81480654..e01d895d7379 100644
--- a/include/asm-i386/paravirt.h
+++ b/include/asm-i386/paravirt.h
@@ -131,6 +131,8 @@ struct paravirt_ops
131 void (*flush_tlb_kernel)(void); 131 void (*flush_tlb_kernel)(void);
132 void (*flush_tlb_single)(u32 addr); 132 void (*flush_tlb_single)(u32 addr);
133 133
134 void (fastcall *map_pt_hook)(int type, pte_t *va, u32 pfn);
135
134 void (*alloc_pt)(u32 pfn); 136 void (*alloc_pt)(u32 pfn);
135 void (*alloc_pd)(u32 pfn); 137 void (*alloc_pd)(u32 pfn);
136 void (*alloc_pd_clone)(u32 pfn, u32 clonepfn, u32 start, u32 count); 138 void (*alloc_pd_clone)(u32 pfn, u32 clonepfn, u32 start, u32 count);
@@ -354,6 +356,8 @@ static inline void startup_ipi_hook(int phys_apicid, unsigned long start_eip,
354#define __flush_tlb_global() paravirt_ops.flush_tlb_kernel() 356#define __flush_tlb_global() paravirt_ops.flush_tlb_kernel()
355#define __flush_tlb_single(addr) paravirt_ops.flush_tlb_single(addr) 357#define __flush_tlb_single(addr) paravirt_ops.flush_tlb_single(addr)
356 358
359#define paravirt_map_pt_hook(type, va, pfn) paravirt_ops.map_pt_hook(type, va, pfn)
360
357#define paravirt_alloc_pt(pfn) paravirt_ops.alloc_pt(pfn) 361#define paravirt_alloc_pt(pfn) paravirt_ops.alloc_pt(pfn)
358#define paravirt_release_pt(pfn) paravirt_ops.release_pt(pfn) 362#define paravirt_release_pt(pfn) paravirt_ops.release_pt(pfn)
359 363