1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fix intr_irq_shuffle(). After r297539, ISRCs doing IPI may be also

registered into global interrupt table. Thus, they must be filtered out
like per-cpu interrupts. Fortunately, it does not influence anything
on interrupt controllers which already use INTRNG.
This commit is contained in:
Svatopluk Kraus 2016-04-07 15:16:33 +00:00
parent ab68acd8c0
commit cf55df9f83
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297676

View File

@ -1190,7 +1190,7 @@ intr_irq_shuffle(void *arg __unused)
for (i = 0; i < NIRQ; i++) {
isrc = irq_sources[i];
if (isrc == NULL || isrc->isrc_handlers == 0 ||
isrc->isrc_flags & INTR_ISRCF_PPI)
isrc->isrc_flags & (INTR_ISRCF_PPI | INTR_ISRCF_IPI))
continue;
if (isrc->isrc_event != NULL &&