x86/entry: Convert NMI to IDTENTRY_NMI
authorThomas Gleixner <tglx@linutronix.de>
Tue, 25 Feb 2020 22:33:25 +0000 (23:33 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:14:58 +0000 (15:14 +0200)
commit6271fef00b3489690e52ce95edbc378357513547
treedafbe2b0d1b80557211c6f220390646ba9974763
parent9cce81cff748ef0e79b41c6e37d7137267f1212f
x86/entry: Convert NMI to IDTENTRY_NMI

Convert #NMI to IDTENTRY_NMI:
  - Implement the C entry point with DEFINE_IDTENTRY_NMI
  - Fixup the XEN/PV code
  - Remove the old prototypes

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200505135314.609932306@linutronix.de
arch/x86/entry/entry_32.S
arch/x86/entry/entry_64.S
arch/x86/include/asm/idtentry.h
arch/x86/include/asm/traps.h
arch/x86/kernel/idt.c
arch/x86/kernel/nmi.c
arch/x86/xen/enlighten_pv.c
arch/x86/xen/xen-asm_64.S