Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI / APEI: Remove arch_apei_flush_tlb_one()

Nothing calls arch_apei_flush_tlb_one() anymore, instead relying on
__set_pte_vaddr() to do the invalidation when called from clear_fixmap()
Remove arch_apei_flush_tlb_one().

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: All applicable <stable@vger.kernel.org>

authored by

James Morse and committed by
Rafael J. Wysocki
4a75aeac 18b4b276

-6
-5
arch/x86/kernel/acpi/apei.c
··· 52 52 apei_mce_report_mem_error(sev, mem_err); 53 53 #endif 54 54 } 55 - 56 - void arch_apei_flush_tlb_one(unsigned long addr) 57 - { 58 - __flush_tlb_one(addr); 59 - }
-1
include/acpi/apei.h
··· 50 50 51 51 int arch_apei_enable_cmcff(struct acpi_hest_header *hest_hdr, void *data); 52 52 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err); 53 - void arch_apei_flush_tlb_one(unsigned long addr); 54 53 55 54 #endif 56 55 #endif