summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/tlbflush.h1
-rw-r--r--arch/x86/mm/tlb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/tlbflush.h b/arch/x86/include/asm/tlbflush.h
index 1dea9860ce5b..323a313947e0 100644
--- a/arch/x86/include/asm/tlbflush.h
+++ b/arch/x86/include/asm/tlbflush.h
@@ -532,6 +532,7 @@ struct flush_tlb_info {
532 unsigned long end; 532 unsigned long end;
533 u64 new_tlb_gen; 533 u64 new_tlb_gen;
534 unsigned int stride_shift; 534 unsigned int stride_shift;
535 bool freed_tables;
535}; 536};
536 537
537#define local_flush_tlb() __flush_tlb() 538#define local_flush_tlb() __flush_tlb()
diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c
index 14bf39fc0447..92e46f4c058c 100644
--- a/arch/x86/mm/tlb.c
+++ b/arch/x86/mm/tlb.c
@@ -617,6 +617,7 @@ void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start,
617 struct flush_tlb_info info __aligned(SMP_CACHE_BYTES) = { 617 struct flush_tlb_info info __aligned(SMP_CACHE_BYTES) = {
618 .mm = mm, 618 .mm = mm,
619 .stride_shift = stride_shift, 619 .stride_shift = stride_shift,
620 .freed_tables = freed_tables,
620 }; 621 };
621 622
622 cpu = get_cpu(); 623 cpu = get_cpu();