summaryrefslogtreecommitdiff
path: root/sys/arch/arm/xscale/i80321_intr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm/xscale/i80321_intr.c')
-rw-r--r--sys/arch/arm/xscale/i80321_intr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/arm/xscale/i80321_intr.c b/sys/arch/arm/xscale/i80321_intr.c
index 40da0d38489..58e032074b7 100644
--- a/sys/arch/arm/xscale/i80321_intr.c
+++ b/sys/arch/arm/xscale/i80321_intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i80321_intr.c,v 1.13 2009/08/22 02:54:50 mk Exp $ */
+/* $OpenBSD: i80321_intr.c,v 1.14 2010/09/20 06:33:47 matthew Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@openbsd.org>
@@ -323,8 +323,7 @@ i80321_intr_establish(int irq, int ipl, int (*func)(void *), void *arg,
iq = &i80321_handler[irq];
if (name != NULL)
- evcount_attach(&ih->ih_count, name, (void *)&ih->ih_irq,
- &evcount_intr);
+ evcount_attach(&ih->ih_count, name, &ih->ih_irq);
/* All IOP321 interrupts are level-triggered. */
iq->iq_ist = IST_LEVEL;