diff options
Diffstat (limited to 'sys/arch/macppc/dev/macintr.c')
-rw-r--r-- | sys/arch/macppc/dev/macintr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/macintr.c b/sys/arch/macppc/dev/macintr.c index 6ba6bab5d1a..4dc001a6312 100644 --- a/sys/arch/macppc/dev/macintr.c +++ b/sys/arch/macppc/dev/macintr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macintr.c,v 1.28 2005/09/30 19:51:52 deraadt Exp $ */ +/* $OpenBSD: macintr.c,v 1.29 2005/10/16 04:30:43 drahn Exp $ */ /*- * Copyright (c) 1995 Per Fogelstrom @@ -287,7 +287,8 @@ printf("vI %d ", irq); ih->ih_next = NULL; ih->ih_level = level; ih->ih_irq = irq; - evcount_attach(&ih->ih_count, name, (void *)&ih->ih_irq, &evcount_intr); + evcount_attach(&ih->ih_count, name, (void *)&m_hwirq[irq], + &evcount_intr); *p = ih; return (ih); |