artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66f727b
)
Decrement ci_idepth on all returns from agintc_irq_handler().
author
kettenis
<kettenis@openbsd.org>
Sat, 29 Apr 2017 18:13:25 +0000
(18:13 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sat, 29 Apr 2017 18:13:25 +0000
(18:13 +0000)
sys/arch/arm64/dev/agintc.c
patch
|
blob
|
history
diff --git
a/sys/arch/arm64/dev/agintc.c
b/sys/arch/arm64/dev/agintc.c
index
e7016dd
..
e2efc1f
100644
(file)
--- a/
sys/arch/arm64/dev/agintc.c
+++ b/
sys/arch/arm64/dev/agintc.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: agintc.c,v 1.
1 2017/04/29 17:24:41
kettenis Exp $ */
+/* $OpenBSD: agintc.c,v 1.
2 2017/04/29 18:13:25
kettenis Exp $ */
/*
* Copyright (c) 2007, 2009, 2011, 2017 Dale Rahn <drahn@dalerahn.com>
*
@@
-624,11
+624,14
@@
agintc_irq_handler(void *frame)
if (irq == 1023) {
sc->sc_spur.ec_count++;
+ ci->ci_idepth--;
return;
}
- if (irq >= sc->sc_nintr)
+ if (irq >= sc->sc_nintr) {
+ ci->ci_idepth--;
return;
+ }
pri = sc->sc_agintc_handler[irq].iq_irq;
s = agintc_splraise(pri);