- Pass the irq and not the vector to intr_event_create().
Reviewed by: marcel
This commit is contained in:
parent
73c71caeff
commit
d13829f04a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178131
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user