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/mvme88k/dev | |
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/mvme88k/dev')
-rw-r--r-- | sys/arch/mvme88k/dev/syscon.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/dev/syscon.c b/sys/arch/mvme88k/dev/syscon.c index 10811cba4b1..b9b33fed552 100644 --- a/sys/arch/mvme88k/dev/syscon.c +++ b/sys/arch/mvme88k/dev/syscon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscon.c,v 1.28 2007/12/27 23:17:53 miod Exp $ */ +/* $OpenBSD: syscon.c,v 1.29 2010/09/20 06:33:47 matthew Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * All rights reserved. @@ -173,8 +173,7 @@ sysconintr_establish(u_int intsrc, struct intrhand *ih, const char *name) return (EINVAL); } - evcount_attach(&ih->ih_count, name, (void *)&ih->ih_ipl, - &evcount_intr); + evcount_attach(&ih->ih_count, name, &ih->ih_ipl); SLIST_INSERT_HEAD(list, ih, ih_link); syscon_intsrc_enable(intsrc, ih->ih_ipl); |