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)
commit9a98bc2cf08a095367449b3548c3d9ad4ad2cd20
tree2aa8c708e2c28dc9d4568662d428d463f6b901ba
parenta5e13c6df0e41702d2b2c77c8ad41677ebb065b3
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