Catch up with intr_event_create() API changes.

This commit is contained in:
David E. O'Brien 2008-09-18 15:24:49 +00:00
parent c542342568
commit b17e4de65f

View File

@ -84,7 +84,7 @@ cpu_establish_hardintr(const char *name, driver_filter_t *filt,
event = hardintr_events[irq];
if (event == NULL) {
error = intr_event_create(&event, (void *)irq, 0,
error = intr_event_create(&event, (void *)irq, 0, 0,
(mask_fn)mips_mask_irq, (mask_fn)mips_unmask_irq,
(mask_fn)mips_unmask_irq, NULL, "hard intr%d:", irq);
if (error)
@ -121,7 +121,7 @@ cpu_establish_softintr(const char *name, driver_filter_t *filt,
event = softintr_events[irq];
if (event == NULL) {
error = intr_event_create(&event, (void *)irq, 0,
error = intr_event_create(&event, (void *)irq, 0, 0,
(mask_fn)mips_mask_irq, (mask_fn)mips_unmask_irq,
(mask_fn)mips_unmask_irq, NULL, "intr%d:", irq);
if (error)