From 3e3ff0cf0db089f1bc7cf6089dc74b51d0a3af70 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Mon, 20 Sep 2010 06:33:49 +0000 Subject: 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@ --- sys/arch/mvmeppc/dev/openpic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/mvmeppc') 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); -- cgit v1.2.3