Title: [3927] trunk/arch/blackfin/kernel/traps.c: [#3651] As Bernd predicted,
this was only necessary because of other
- Revision
- 3927
- Author
- rgetz
- Date
- 2007-11-23 05:57:32 -0600 (Fri, 23 Nov 2007)
Log Message
[#3651] As Bernd predicted, this was only necessary because of other
problems in the kenel - fixing those, and this is not necessary, so
remove it.
Diffstat
traps.c | 7 -------
1 files changed, 7 deletions(-)
Modified Paths
Diff
Modified: trunk/arch/blackfin/kernel/traps.c (3926 => 3927)
--- trunk/arch/blackfin/kernel/traps.c 2007-11-23 11:41:54 UTC (rev 3926)
+++ trunk/arch/blackfin/kernel/traps.c 2007-11-23 11:57:32 UTC (rev 3927)
@@ -473,13 +473,6 @@
info.si_addr = (void *)fp->pc;
force_sig_info(sig, &info, current);
- /* Ensure that bad return addresses don't end up in an infinite
- * loop, due to speculative loads/reads. This needs to be done after
- * the signal has been sent.
- */
- if (trapnr == VEC_CPLB_I_M && sig != SIGTRAP)
- fp->pc = SAFE_USER_INSTRUCTION;
-
trace_buffer_restore(j);
return;
}
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits