]> git.baikalelectronics.ru Git - kernel.git/commit
x86/irq: Rework handle_irq() for 64-bit
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 May 2020 20:05:35 +0000 (22:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:12 +0000 (15:15 +0200)
commitfdea0aab22890bf2ba18f55d41ad7f53c28df500
tree152432b465046ccf1db0366552a5d9cc1478e581
parentc295fcd67629403a755d80c49a5e649c52252e17
x86/irq: Rework handle_irq() for 64-bit

To consolidate the interrupt entry/exit code vs. the other exceptions
make handle_irq() an inline and handle both 64-bit and 32-bit mode.

Preparatory change to move irq stack switching for 64-bit to C which allows
to consolidate the entry exit handling by reusing the idtentry machinery
both in ASM and C.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20200521202118.889972748@linutronix.de
arch/x86/include/asm/irq.h
arch/x86/kernel/irq.c
arch/x86/kernel/irq_32.c