ACPI / APEI: Remove arch_apei_flush_tlb_one()
authorJames Morse <james.morse@arm.com>
Mon, 6 Nov 2017 18:44:27 +0000 (18:44 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 7 Nov 2017 11:13:38 +0000 (12:13 +0100)
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>
arch/x86/kernel/acpi/apei.c
include/acpi/apei.h

index ea3046e..bb8d300 100644 (file)
@@ -52,8 +52,3 @@ void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err)
        apei_mce_report_mem_error(sev, mem_err);
 #endif
 }
-
-void arch_apei_flush_tlb_one(unsigned long addr)
-{
-       __flush_tlb_one(addr);
-}
index c46694a..82c4516 100644 (file)
@@ -50,7 +50,6 @@ int erst_clear(u64 record_id);
 
 int arch_apei_enable_cmcff(struct acpi_hest_header *hest_hdr, void *data);
 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err);
-void arch_apei_flush_tlb_one(unsigned long addr);
 
 #endif
 #endif