x86/idtentry: Provide IDTENTRY_XEN for XEN/PV
authorThomas Gleixner <tglx@linutronix.de>
Tue, 25 Feb 2020 22:33:24 +0000 (23:33 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:14:57 +0000 (15:14 +0200)
commit9cce81cff748ef0e79b41c6e37d7137267f1212f
treeb197c1d733489b240efdc79f30cd9708d19ff00d
parentaedbdeab00dcfcc6d751f9fb1b4896b01911d494
x86/idtentry: Provide IDTENTRY_XEN for XEN/PV

XEN/PV has special wrappers for NMI and DB exceptions. They redirect these
exceptions through regular IDTENTRY points. Provide the necessary IDTENTRY
macros to make this work

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.518622698@linutronix.de
arch/x86/include/asm/idtentry.h