Title: [6829] trunk/arch/blackfin/mach-common/interrupt.S: Blackfin: allow EVT5 to preempt irqtail prologue (CONFIG_DEBUG_HWERR)
Revision
6829
Author
vapier
Date
2009-06-22 13:20:48 -0500 (Mon, 22 Jun 2009)

Log Message

Blackfin: allow EVT5 to preempt irqtail prologue (CONFIG_DEBUG_HWERR)

Modified Paths

Diff

Modified: trunk/arch/blackfin/mach-common/interrupt.S (6828 => 6829)


--- trunk/arch/blackfin/mach-common/interrupt.S	2009-06-22 18:20:34 UTC (rev 6828)
+++ trunk/arch/blackfin/mach-common/interrupt.S	2009-06-22 18:20:48 UTC (rev 6829)
@@ -276,7 +276,15 @@
 	( r7:4, p5:3 ) = [sp++];
 	rets = [sp++];
 
-	r0 = 0x401f (z);
+#ifdef CONFIG_DEBUG_HWERR
+	/* enable irq14 & hwerr interrupt, until we transition to _evt_evt14 */
+	r0 = (EVT_IVG14 | EVT_IVHW | \
+		EVT_IRPTEN | EVT_EVX | EVT_NMI | EVT_RST | EVT_EMU);
+#else
+	/* Only enable irq14 interrupt, until we transition to _evt_evt14 */
+	r0 = (EVT_IVG14 | \
+		EVT_IRPTEN | EVT_EVX | EVT_NMI | EVT_RST | EVT_EMU);
+#endif
 	sti r0;
 	raise 14;		/* Branches to _evt_evt14 */
 2:
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to