summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/arm/nexus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/nexus.c b/sys/arm/arm/nexus.c
index e462364..b670417 100644
--- a/sys/arm/arm/nexus.c
+++ b/sys/arm/arm/nexus.c
@@ -142,7 +142,7 @@ nexus_teardown_intr(device_t dev, device_t child, struct resource *r, void *ih)
int i;
for (i = rman_get_start(r); i <= rman_get_end(r); i++)
- arm_mask_irq(rman_get_start(r));
+ arm_mask_irq(i);
error = arm_remove_irqhandler(ih);
return (error);
}
OpenPOWER on IntegriCloud