mmu.c (6e2d6b2728fcb408eabd7991804f8cb33ff59f20) mmu.c (5c83511bdb9832c86be20fb86b783356e2f58062)
1#define pr_fmt(fmt) "Hyper-V: " fmt
2
3#include <linux/hyperv.h>
4#include <linux/log2.h>
5#include <linux/slab.h>
6#include <linux/types.h>
7
8#include <asm/fpu/api.h>

--- 217 unchanged lines hidden (view full) ---

226}
227
228void hyperv_setup_mmu_ops(void)
229{
230 if (!(ms_hyperv.hints & HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED))
231 return;
232
233 pr_info("Using hypercall for remote TLB flush\n");
1#define pr_fmt(fmt) "Hyper-V: " fmt
2
3#include <linux/hyperv.h>
4#include <linux/log2.h>
5#include <linux/slab.h>
6#include <linux/types.h>
7
8#include <asm/fpu/api.h>

--- 217 unchanged lines hidden (view full) ---

226}
227
228void hyperv_setup_mmu_ops(void)
229{
230 if (!(ms_hyperv.hints & HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED))
231 return;
232
233 pr_info("Using hypercall for remote TLB flush\n");
234 pv_mmu_ops.flush_tlb_others = hyperv_flush_tlb_others;
235 pv_mmu_ops.tlb_remove_table = tlb_remove_table;
234 pv_ops.mmu.flush_tlb_others = hyperv_flush_tlb_others;
235 pv_ops.mmu.tlb_remove_table = tlb_remove_table;
236}
236}