diff options
-rw-r--r-- | sys/arch/amd64/amd64/intr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/intr.c b/sys/arch/amd64/amd64/intr.c index b13541fc3bf..794233f1419 100644 --- a/sys/arch/amd64/amd64/intr.c +++ b/sys/arch/amd64/amd64/intr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.c,v 1.23 2009/08/22 02:54:50 mk Exp $ */ +/* $OpenBSD: intr.c,v 1.24 2010/03/01 20:36:32 kettenis Exp $ */ /* $NetBSD: intr.c,v 1.3 2003/03/03 22:16:20 fvdl Exp $ */ /* @@ -444,8 +444,7 @@ intr_establish(int legacy_irq, struct pic *pic, int pin, int type, int level, ih->ih_pin = pin; ih->ih_cpu = ci; ih->ih_slot = slot; - evcount_attach(&ih->ih_count, what, (void *)&ih->ih_pin, - &evcount_intr); + evcount_attach(&ih->ih_count, what, &source->is_idtvec, &evcount_intr); *p = ih; |