[PATCH v2 0/3] x86/irq: slightly improve handle_irq

From: Heiner Kallweit
Date: Mon Aug 19 2019 - 15:34:08 EST


When checking something else I stumbled across this code.
This patch set simplifies it a little bit.

v2:
- patch 2: add "likely" to if clause and reorder it
- patch 2: For 64bit, remove handle_irq and inline call to generic_handle_irq_desc

Heiner Kallweit (3):
x86/irq: improve definition of VECTOR_SHUTDOWN et al
x86/irq: factor out IS_ERR_OR_NULL check from platform-specific
handle_irq
x86/irq: slightly improve do_IRQ

arch/x86/include/asm/hw_irq.h | 4 ++--
arch/x86/include/asm/irq.h | 2 +-
arch/x86/kernel/irq.c | 11 ++++++++---
arch/x86/kernel/irq_32.c | 7 +------
arch/x86/kernel/irq_64.c | 9 ---------
5 files changed, 12 insertions(+), 21 deletions(-)

--
2.22.1