Pass the information on to native_flush_tlb_others. No functional changes.
Signed-off-by: Rik van Riel <r...@surriel.com> --- arch/x86/include/asm/tlbflush.h | 1 + arch/x86/mm/tlb.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/include/asm/tlbflush.h b/arch/x86/include/asm/tlbflush.h index ae1ef755cb94..dc4d99579984 100644 --- a/arch/x86/include/asm/tlbflush.h +++ b/arch/x86/include/asm/tlbflush.h @@ -511,6 +511,7 @@ struct flush_tlb_info { unsigned long start; unsigned long end; u64 new_tlb_gen; + bool freed_tables; }; #define local_flush_tlb() __flush_tlb() diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c index 62f147b0f6b7..5d73bde0e4c8 100644 --- a/arch/x86/mm/tlb.c +++ b/arch/x86/mm/tlb.c @@ -578,6 +578,7 @@ void flush_tlb_mm_range(struct mm_struct *mm, unsigned long start, struct flush_tlb_info info = { .mm = mm, + .freed_tables = freed_tables, }; cpu = get_cpu(); -- 2.17.1