summaryrefslogtreecommitdiff
path: root/sys/arch/landisk
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-20 06:33:49 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-20 06:33:49 +0000
commit3e3ff0cf0db089f1bc7cf6089dc74b51d0a3af70 (patch)
treefdd209a91e26cb3cbc1a90545f99b5db0880c7ce /sys/arch/landisk
parentee9bd637e0295eeb7dfd37b2f3810841cbd814f7 (diff)
Get rid of evcount's support for arranging counters in a tree
hierarchy. Everything attached to a single root node anyway, so at best we had a bush. "i think it is good" deraadt@
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r--sys/arch/landisk/landisk/intr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/landisk/landisk/intr.c b/sys/arch/landisk/landisk/intr.c
index 1b76c1abdc4..59f35869a99 100644
--- a/sys/arch/landisk/landisk/intr.c
+++ b/sys/arch/landisk/landisk/intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.c,v 1.5 2007/04/09 13:23:25 miod Exp $ */
+/* $OpenBSD: intr.c,v 1.6 2010/09/20 06:33:47 matthew Exp $ */
/* $NetBSD: intr.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
@@ -193,8 +193,7 @@ extintr_establish(int irq, int level, int (*ih_fun)(void *), void *ih_arg,
ih->ih_name = ih_name;
if (ih_name != NULL)
- evcount_attach(&ih->ih_count, ih_name, (void *)&ih->ih_irq,
- &evcount_intr);
+ evcount_attach(&ih->ih_count, ih_name, &ih->ih_irq);
*p = ih;
if (++eih->eih_nih == 1) {