summaryrefslogtreecommitdiffstats
path: root/sys/mips/nlm/intr_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/nlm/intr_machdep.c')
-rw-r--r--sys/mips/nlm/intr_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/nlm/intr_machdep.c b/sys/mips/nlm/intr_machdep.c
index 782043e..84a5fbb 100644
--- a/sys/mips/nlm/intr_machdep.c
+++ b/sys/mips/nlm/intr_machdep.c
@@ -141,13 +141,13 @@ xlp_establish_intr(const char *name, driver_filter_t filt,
* PIC based interrupts need ack in PIC, and some SoC
* components need additional acks (e.g. PCI)
*/
- if (xlp_irq_is_picintr(irq))
+ if (XLP_IRQ_IS_PICINTR(irq))
errcode = intr_event_create(&ie, src, 0, irq,
xlp_pre_ithread, xlp_post_ithread, xlp_post_filter,
NULL, "hard intr%d:", irq);
else {
if (filt == NULL)
- panic("Not supported - non filter percpu intr");
+ panic("Unsupported non filter percpu intr %d", irq);
errcode = intr_event_create(&ie, src, 0, irq,
NULL, NULL, NULL, NULL, "hard intr%d:", irq);
}
OpenPOWER on IntegriCloud