aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/tlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/tlb.c')
-rw-r--r--arch/x86/mm/tlb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c
index f030cbe669a5..ae699b3bbac8 100644
--- a/arch/x86/mm/tlb.c
+++ b/arch/x86/mm/tlb.c
@@ -280,10 +280,8 @@ static void do_kernel_range_flush(void *info)
280 unsigned long addr; 280 unsigned long addr;
281 281
282 /* flush range by one by one 'invlpg' */ 282 /* flush range by one by one 'invlpg' */
283 for (addr = f->flush_start; addr < f->flush_end; addr += PAGE_SIZE) { 283 for (addr = f->flush_start; addr < f->flush_end; addr += PAGE_SIZE)
284 count_vm_event(NR_TLB_LOCAL_FLUSH_ONE_KERNEL);
285 __flush_tlb_single(addr); 284 __flush_tlb_single(addr);
286 }
287} 285}
288 286
289void flush_tlb_kernel_range(unsigned long start, unsigned long end) 287void flush_tlb_kernel_range(unsigned long start, unsigned long end)