]> git.baikalelectronics.ru Git - kernel.git/commit
x86/irq: Remove unused vectors defines
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Wed, 19 May 2021 21:21:49 +0000 (14:21 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 21 May 2021 10:36:44 +0000 (12:36 +0200)
commit00d1bc9eb1b259e81c4f128884fff646b5eb6a22
tree8dcace42f7a4cbf328695dcfb0cecb2e0a25b58a
parent87d9f8b77b5545016adf3cfc494e6ea6899acca7
x86/irq: Remove unused vectors defines

UV_BAU_MESSAGE is defined but not used anywhere in the kernel. Presumably
this is a stale vector number that can be reclaimed.

MCE_VECTOR is not an actual vector: #MC is an exception, not an interrupt
vector, and as such is correctly described as X86_TRAP_MC. MCE_VECTOR is
not used anywhere is the kernel.

Note that NMI_VECTOR *is* used; specifically it is the vector number
programmed into the APIC LVT when an NMI interrupt is configured. At
the moment it is always numerically identical to X86_TRAP_NMI, that is
not necessarily going to be the case indefinitely.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Steve Wahl <steve.wahl@hpe.com>
Link: https://lore.kernel.org/r/20210519212154.511983-4-hpa@zytor.com
arch/x86/include/asm/irq_vectors.h
tools/arch/x86/include/asm/irq_vectors.h