diff options
Diffstat (limited to 'sys/arch/macppc/dev')
-rw-r--r-- | sys/arch/macppc/dev/macintr.c | 5 | ||||
-rw-r--r-- | sys/arch/macppc/dev/openpic.c | 5 |
2 files changed, 6 insertions, 4 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); diff --git a/sys/arch/macppc/dev/openpic.c b/sys/arch/macppc/dev/openpic.c index 97a9f3129e5..9b48bb02b85 100644 --- a/sys/arch/macppc/dev/openpic.c +++ b/sys/arch/macppc/dev/openpic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openpic.c,v 1.31 2005/10/09 03:50:11 drahn Exp $ */ +/* $OpenBSD: openpic.c,v 1.32 2005/10/16 04:30:43 drahn Exp $ */ /*- * Copyright (c) 1995 Per Fogelstrom @@ -263,7 +263,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 *)&o_hwirq[irq], + &evcount_intr); *p = ih; return (ih); |