summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale/i80321
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2009-06-09 18:18:41 +0000
committermarcel <marcel@FreeBSD.org>2009-06-09 18:18:41 +0000
commit898dda825cfcffcc2b924756406dffce9cf7e252 (patch)
treee846e3361c689dff739f93bdcff26f51b315917d /sys/arm/xscale/i80321
parent6550c66aa23e544ae0721ff433e77661cc5c4098 (diff)
downloadFreeBSD-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/xscale/i80321')
-rw-r--r--sys/arm/xscale/i80321/i80321.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/xscale/i80321/i80321.c b/sys/arm/xscale/i80321/i80321.c
index c7b6ee6..053fe78 100644
--- a/sys/arm/xscale/i80321/i80321.c
+++ b/sys/arm/xscale/i80321/i80321.c
@@ -240,7 +240,7 @@ i80321_iintsrc_read(void)
}
int
-arm_get_next_irq()
+arm_get_next_irq(int last __unused)
{
int irq;
OpenPOWER on IntegriCloud