- Pass the irq and not the vector to intr_event_create().

Reviewed by:	marcel
This commit is contained in:
Jeff Roberson 2008-04-11 23:10:39 +00:00
parent 73c71caeff
commit d13829f04a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178131

View File

@ -340,7 +340,7 @@ ia64_setup_intr(const char *name, int irq, driver_filter_t filter,
return (ENOMEM);
error = intr_event_create(&i->event, (void *)(uintptr_t)vector,
0, vector, ia64_intr_mask, ia64_intr_unmask, ia64_intr_eoi,
0, irq, ia64_intr_mask, ia64_intr_unmask, ia64_intr_eoi,
NULL, "irq%u:", irq);
if (error) {
free(i, M_DEVBUF);