x86/mm: Remove unused current_untag_mask()
authorBorislav Petkov (AMD) <bp@alien8.de>
Wed, 14 Jun 2023 17:41:48 +0000 (19:41 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 16 Jun 2023 08:50:16 +0000 (10:50 +0200)
commit013fdeb07a8fd32bbb3412e5f49d60207a78bf08
tree615c685ac0c75144dbd40ac79bc0ae8f5c6429f8
parent7e980867ced0037a65f588971b89769857b77aab
x86/mm: Remove unused current_untag_mask()

e0bddc19ba95 ("x86/mm: Reduce untagged_addr() overhead for systems without LAM")

removed its only usage site so drop it.

Move the tlbstate_untag_mask up in the header and drop the ugly
ifdeffery as the unused declaration should be properly discarded.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: https://lore.kernel.org/r/20230614174148.5439-1-bp@alien8.de
arch/x86/include/asm/tlbflush.h