Commit df7ccaff authored by Thomas Gleixner's avatar Thomas Gleixner

x86/entry/64: Remove error code clearing from #DB and #MCE ASM stub

The C entry points do not expect an error code.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarAlexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
Acked-by: default avatarAndy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200505135314.992621707@linutronix.de


parent 2bbc68f8
...@@ -642,7 +642,6 @@ SYM_CODE_START(\asmsym) ...@@ -642,7 +642,6 @@ SYM_CODE_START(\asmsym)
.endif .endif
movq %rsp, %rdi /* pt_regs pointer */ movq %rsp, %rdi /* pt_regs pointer */
xorl %esi, %esi /* Clear the error code */
.if \vector == X86_TRAP_DB .if \vector == X86_TRAP_DB
subq $DB_STACK_OFFSET, CPU_TSS_IST(IST_INDEX_DB) subq $DB_STACK_OFFSET, CPU_TSS_IST(IST_INDEX_DB)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment