- Pass the irq and not the vector to intr_event_create().
Reviewed by: marcel
This commit is contained in:
parent
73c71caeff
commit
d13829f04a
@ -340,7 +340,7 @@ ia64_setup_intr(const char *name, int irq, driver_filter_t filter,
|
|||||||
return (ENOMEM);
|
return (ENOMEM);
|
||||||
|
|
||||||
error = intr_event_create(&i->event, (void *)(uintptr_t)vector,
|
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);
|
NULL, "irq%u:", irq);
|
||||||
if (error) {
|
if (error) {
|
||||||
free(i, M_DEVBUF);
|
free(i, M_DEVBUF);
|
||||||
|
Loading…
Reference in New Issue
Block a user