x86/entry: Convert Machine Check to IDTENTRY_IST
Convert #MC to IDTENTRY_MCE: - Implement the C entry points with DEFINE_IDTENTRY_MCE - Emit the ASM stub with DECLARE_IDTENTRY_MCE - Remove the ASM idtentry in 64bit - Remove the open coded ASM entry code in 32bit - Fixup the XEN/PV code - Remove the old prototypes - Remove the error code from *machine_check_vector() as it is always 0 and not used by any of the functions it can point to. Fixup all the functions as well. 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.334980426@linutronix.de
Dieser Commit ist enthalten in:
@@ -1297,15 +1297,6 @@ SYM_CODE_START(native_iret)
|
||||
SYM_CODE_END(native_iret)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_X86_MCE
|
||||
SYM_CODE_START(machine_check)
|
||||
ASM_CLAC
|
||||
pushl $0
|
||||
pushl $do_mce
|
||||
jmp common_exception
|
||||
SYM_CODE_END(machine_check)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XEN_PV
|
||||
SYM_FUNC_START(xen_hypervisor_callback)
|
||||
/*
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren