diff options
-rw-r--r-- | arch/blackfin/kernel/traps.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index 8a1caf2bb5b9..664de56296cb 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c | |||
@@ -619,7 +619,8 @@ asmlinkage void trap_c(struct pt_regs *fp) | |||
619 | force_sig_info(sig, &info, current); | 619 | force_sig_info(sig, &info, current); |
620 | } | 620 | } |
621 | 621 | ||
622 | if (ANOMALY_05000461 && trapnr == VEC_HWERR && !access_ok(VERIFY_READ, fp->pc, 8)) | 622 | if ((ANOMALY_05000461 && trapnr == VEC_HWERR && !access_ok(VERIFY_READ, fp->pc, 8)) || |
623 | (ANOMALY_05000281 && trapnr == VEC_HWERR)) | ||
623 | fp->pc = SAFE_USER_INSTRUCTION; | 624 | fp->pc = SAFE_USER_INSTRUCTION; |
624 | 625 | ||
625 | traps_done: | 626 | traps_done: |