x86/entry: Convert Invalid Opcode exception to IDTENTRY
Convert #UD to IDTENTRY: - Implement the C entry point with DEFINE_IDTENTRY - Emit the ASM stub with DECLARE_IDTENTRY - Remove the ASM idtentry in 64bit - Remove the open coded ASM entry code in 32bit - Fixup the XEN/PV code - Fixup the FOOF bug call in fault.c - 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: Andy Lutomirski <luto@kernel.org> Acked-by: Peter Zijlstra <peterz@infradead.org> Link: https://lkml.kernel.org/r/20200505134904.955511913@linutronix.de
This commit is contained in:
@@ -624,7 +624,7 @@ static struct trap_array_entry trap_array[] = {
|
||||
{ page_fault, xen_page_fault, false },
|
||||
TRAP_ENTRY(exc_divide_error, false ),
|
||||
TRAP_ENTRY(exc_bounds, false ),
|
||||
{ invalid_op, xen_invalid_op, false },
|
||||
TRAP_ENTRY(exc_invalid_op, false ),
|
||||
{ device_not_available, xen_device_not_available, false },
|
||||
{ coprocessor_segment_overrun, xen_coprocessor_segment_overrun, false },
|
||||
{ invalid_TSS, xen_invalid_TSS, false },
|
||||
|
Reference in New Issue
Block a user