]> git.baikalelectronics.ru Git - kernel.git/commit
x86/vector: Add a sanity check to prevent IRQ2 allocations
authorThomas Gleixner <tglx@linutronix.de>
Thu, 18 Mar 2021 19:26:48 +0000 (20:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 29 Mar 2021 22:39:12 +0000 (00:39 +0200)
commit5291d21163c19397ddb63eaf2a0639c076bfff33
tree2aa8c708e2c28dc9d4568662d428d463f6b901ba
parent5769e41d28283e528d581f536f314c549bc3ab6d
x86/vector: Add a sanity check to prevent IRQ2 allocations

To prevent another incidental removal of the IRQ2 ignore logic in the
IO/APIC code going unnoticed add a sanity check. Add some commentry at the
other place which ignores IRQ2 while at it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210318192819.795280387@linutronix.de
arch/x86/kernel/apic/vector.c