mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
b64400a03f
commit
c7c4bc64f2
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue