Title: [4063] trunk/arch/blackfin/kernel/traps.c: [#2424] Don' t oops_in_progress if single step is comming from the
Revision
4063
Author
rgetz
Date
2007-12-25 21:12:53 -0600 (Tue, 25 Dec 2007)

Log Message

[#2424] Don't oops_in_progress if single step is comming from the
kernel, which happens if a single step occurs after a exception cause.
This fixes up the remaining issues in the toolchain bug [#3651].

Diffstat

 traps.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Modified Paths

Diff

Modified: trunk/arch/blackfin/kernel/traps.c (4062 => 4063)


--- trunk/arch/blackfin/kernel/traps.c	2007-12-26 00:42:58 UTC (rev 4062)
+++ trunk/arch/blackfin/kernel/traps.c	2007-12-26 03:12:53 UTC (rev 4063)
@@ -200,9 +200,9 @@
 	/* TODO: check to see if we are in some sort of deferred HWERR
 	 * that we should be able to recover from, not kernel panic
 	 */
-	if ((bfin_read_IPEND() & 0xFFC0)
+	if ((bfin_read_IPEND() & 0xFFC0) && (trapnr != VEC_STEP)
 #ifdef CONFIG_KGDB
-		&& trapnr != VEC_EXCPT02
+		&& (trapnr != VEC_EXCPT02)
 #endif
 	){
 		console_verbose();
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to