diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-09-20 06:33:49 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-09-20 06:33:49 +0000 |
commit | 3e3ff0cf0db089f1bc7cf6089dc74b51d0a3af70 (patch) | |
tree | fdd209a91e26cb3cbc1a90545f99b5db0880c7ce /sys/arch/mvmeppc | |
parent | ee9bd637e0295eeb7dfd37b2f3810841cbd814f7 (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/mvmeppc')
-rw-r--r-- | sys/arch/mvmeppc/dev/openpic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvmeppc/dev/openpic.c b/sys/arch/mvmeppc/dev/openpic.c index df7d85f3f83..b4220d0e07a 100644 --- a/sys/arch/mvmeppc/dev/openpic.c +++ b/sys/arch/mvmeppc/dev/openpic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openpic.c,v 1.22 2007/05/29 18:10:43 miod Exp $ */ +/* $OpenBSD: openpic.c,v 1.23 2010/09/20 06:33:47 matthew Exp $ */ /*- * Copyright (c) 1995 Per Fogelstrom @@ -329,7 +329,7 @@ i8259_intr_establish(lcv, irq, type, level, ih_fun, ih_arg, what) ih->ih_level = level; ih->ih_irq = irq; ih->ih_what = what; - evcount_attach(&ih->ih_count, what, (void *)&ih->ih_irq, &evcount_intr); + evcount_attach(&ih->ih_count, what, &ih->ih_irq); *p = ih; return (ih); @@ -412,7 +412,7 @@ openpic_intr_establish(lcv, irq, type, level, ih_fun, ih_arg, what) ih->ih_level = level; ih->ih_irq = irq; ih->ih_what = what; - evcount_attach(&ih->ih_count, what, (void *)&ih->ih_irq, &evcount_intr); + evcount_attach(&ih->ih_count, what, (void *)&ih->ih_irq); *p = ih; return (ih); |