aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/mm/fault.c')
-rw-r--r--arch/arm64/mm/fault.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c
index 07b352893cd4..3d1c63edf537 100644
--- a/arch/arm64/mm/fault.c
+++ b/arch/arm64/mm/fault.c
@@ -476,22 +476,6 @@ asmlinkage void __exception do_mem_abort(unsigned long addr, unsigned int esr,
arm64_notify_die("", regs, &info, esr);
}
-asmlinkage void __exception do_el0_ia_bp_hardening(unsigned long addr,
- unsigned int esr,
- struct pt_regs *regs)
-{
- /*
- * We've taken an instruction abort from userspace and not yet
- * re-enabled IRQs. If the address is a kernel address, apply
- * BP hardening prior to enabling IRQs and pre-emption.
- */
- if (addr > TASK_SIZE)
- arm64_apply_bp_hardening();
-
- local_irq_enable();
- do_mem_abort(addr, esr, regs);
-}
-
/*
* Handle stack alignment exceptions.
*/