diff options
author | marcel <marcel@FreeBSD.org> | 2009-06-09 18:18:41 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2009-06-09 18:18:41 +0000 |
commit | 898dda825cfcffcc2b924756406dffce9cf7e252 (patch) | |
tree | e846e3361c689dff739f93bdcff26f51b315917d /sys/arm/mv/ic.c | |
parent | 6550c66aa23e544ae0721ff433e77661cc5c4098 (diff) | |
download | FreeBSD-src-898dda825cfcffcc2b924756406dffce9cf7e252.zip FreeBSD-src-898dda825cfcffcc2b924756406dffce9cf7e252.tar.gz |
Pass the previously returned IRQ back to arm_get_next_irq() so that
the implementation can guarantee forward progress in the event of
a stuck interrupt or interrupt storm. This is especially critical
for fast interrupt handlers, as they can cause a hard hang in that
case. When first called, arm_get_next_irq() is passed -1.
Obtained from: Juniper Networks, Inc.
Diffstat (limited to 'sys/arm/mv/ic.c')
-rw-r--r-- | sys/arm/mv/ic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/mv/ic.c b/sys/arm/mv/ic.c index d449e16..8861dc1 100644 --- a/sys/arm/mv/ic.c +++ b/sys/arm/mv/ic.c @@ -137,7 +137,7 @@ static devclass_t mv_ic_devclass; DRIVER_MODULE(ic, mbus, mv_ic_driver, mv_ic_devclass, 0, 0); int -arm_get_next_irq(void) +arm_get_next_irq(int last __unused) { int irq; |