Add a missing conditional. We should not bind the PIC interrupt unless
the interrupt's PIC (a) exists and (b) is the root PIC. Reported by: Andreas Tobler
This commit is contained in:
parent
8c92592cd0
commit
c42c25e677
@ -415,7 +415,8 @@ powerpc_bind_intr(u_int irq, u_char cpu)
|
||||
else
|
||||
i->cpu = 1 << cpu;
|
||||
|
||||
PIC_BIND(i->pic, i->intline, i->cpu);
|
||||
if (!cold && i->pic != NULL && i->pic == root_pic)
|
||||
PIC_BIND(i->pic, i->intline, i->cpu);
|
||||
|
||||
return (intr_event_bind(i->event, cpu));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user