From: Philippe Gerum Date: Mon, 22 Jun 2009 16:24:18 +0000 (+0200) Subject: Blackfin: allow EVT5 to preempt irqtail prologue (CONFIG_DEBUG_HWERR) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=70f47202320623270f327e249df0121c09e45c09;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Blackfin: allow EVT5 to preempt irqtail prologue (CONFIG_DEBUG_HWERR) Signed-off-by: Philippe Gerum Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/mach-common/interrupt.S b/arch/blackfin/mach-common/interrupt.S index ae7fc88ab6a..29fbf67f47f 100644 --- a/arch/blackfin/mach-common/interrupt.S +++ b/arch/blackfin/mach-common/interrupt.S @@ -276,7 +276,15 @@ ENTRY(___ipipe_call_irqtail) ( 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: