x86/entry: Convert system vectors to irq stack macro
authorThomas Gleixner <tglx@linutronix.de>
Tue, 9 Feb 2021 23:40:47 +0000 (00:40 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 10 Feb 2021 22:34:15 +0000 (23:34 +0100)
commit569dd8b4eb7ef666b467c41b8e8e4f2820d07f67
treed4fbac676e491882e53af9a768d5afd940409c7e
parenta0cfc74d0b00c5201e1c09e28b2dc01c8088f809
x86/entry: Convert system vectors to irq stack macro

To inline the stack switching and to prepare for enabling
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK provide a macro template for system
vectors and device interrupts and convert the system vectors over to it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210210002512.676197354@linutronix.de
arch/x86/entry/entry_64.S
arch/x86/include/asm/idtentry.h
arch/x86/include/asm/irq_stack.h