Skip to content

Commit

Permalink
ACPI / APEI: Remove arch_apei_flush_tlb_one()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Morse authored and Rafael J. Wysocki committed Nov 7, 2017
1 parent 18b4b27 commit 4a75aea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions arch/x86/kernel/acpi/apei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
1 change: 0 additions & 1 deletion include/acpi/apei.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4a75aea

Please sign in to comment.