]> 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)
commit5c2abe6c263f1e825930aada4d6f2525626e1ed2
tree2aa8c708e2c28dc9d4568662d428d463f6b901ba
parenta1f6d97777d7ce5166294726898125ce00264085
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