[patch V4 part 4 17/24] x86/entry/64: Remove error code clearing from #DB and #MCE ASM stub

From: Thomas Gleixner
Date: Tue May 05 2020 - 10:19:17 EST


The C entry points do not expect an error code.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
arch/x86/entry/entry_64.S | 1 -
1 file changed, 1 deletion(-)

--- a/arch/x86/entry/entry_64.S
+++ b/arch/x86/entry/entry_64.S
@@ -643,7 +643,6 @@ SYM_CODE_START(\asmsym)
.endif

movq %rsp, %rdi /* pt_regs pointer */
- xorl %esi, %esi /* Clear the error code */

.if \vector == X86_TRAP_DB
subq $DB_STACK_OFFSET, CPU_TSS_IST(IST_INDEX_DB)