x86/tlb: Move __flush_tlb_all() out of line
authorThomas Gleixner <tglx@linutronix.de>
Tue, 21 Apr 2020 09:20:37 +0000 (11:20 +0200)
committerBorislav Petkov <bp@suse.de>
Sun, 26 Apr 2020 16:17:31 +0000 (18:17 +0200)
commit4b04e6c236744635eb4852bd9690172734fa0a1c
treefc73a83f86fb96f1175e5626dd9efc9c86730172
parent29def599b38bb8a10f48f83821dd990615300b04
x86/tlb: Move __flush_tlb_all() out of line

Reduce the number of required exports to one and make flush_tlb_global()
static to the TLB code.

flush_tlb_local() cannot be confined to the TLB code as the MTRR
handling requires a PGE-less flush.

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200421092559.740388137@linutronix.de
arch/x86/include/asm/tlbflush.h
arch/x86/mm/tlb.c