aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/blackfin/kernel/traps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c
index 0d04a4732b1f..778a75655a0c 100644
--- a/arch/blackfin/kernel/traps.c
+++ b/arch/blackfin/kernel/traps.c
@@ -594,6 +594,9 @@ asmlinkage void trap_c(struct pt_regs *fp)
594 force_sig_info(sig, &info, current); 594 force_sig_info(sig, &info, current);
595 } 595 }
596 596
597 if (ANOMALY_05000461 && trapnr == VEC_HWERR && !access_ok(VERIFY_READ, fp->pc, 8))
598 fp->pc = SAFE_USER_INSTRUCTION;
599
597 trace_buffer_restore(j); 600 trace_buffer_restore(j);
598 return; 601 return;
599} 602}