File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,11 @@ void __init native_pv_lock_init(void)
79
79
static_branch_disable (& virt_spin_lock_key );
80
80
}
81
81
82
+ static void native_tlb_remove_table (struct mmu_gather * tlb , void * table )
83
+ {
84
+ tlb_remove_page (tlb , table );
85
+ }
86
+
82
87
unsigned int paravirt_patch (u8 type , void * insn_buff , unsigned long addr ,
83
88
unsigned int len )
84
89
{
@@ -295,8 +300,7 @@ struct paravirt_patch_template pv_ops = {
295
300
.mmu .flush_tlb_kernel = native_flush_tlb_global ,
296
301
.mmu .flush_tlb_one_user = native_flush_tlb_one_user ,
297
302
.mmu .flush_tlb_multi = native_flush_tlb_multi ,
298
- .mmu .tlb_remove_table =
299
- (void (* )(struct mmu_gather * , void * ))tlb_remove_page ,
303
+ .mmu .tlb_remove_table = native_tlb_remove_table ,
300
304
301
305
.mmu .exit_mmap = paravirt_nop ,
302
306
.mmu .notify_page_enc_status_changed = paravirt_nop ,
You can’t perform that action at this time.
0 commit comments