mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
Blackfin: allow EVT5 to preempt irqtail prologue (CONFIG_DEBUG_HWERR)
Signed-off-by: Philippe Gerum <rpm@xenomai.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
fc9afb997f
commit
70f4720232
1 changed files with 9 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue