summaryrefslogtreecommitdiffstats
path: root/arch/x86/entry/entry_64.S
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-02-25 23:33:27 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-06-11 15:15:00 +0200
commitdf7ccaffd2035ebd4bfbb2d980e5817c31f4a891 (patch)
treeb8fac73d8ed117474f2a0f69f4b2f8b2b1b71481 /arch/x86/entry/entry_64.S
parent2bbc68f8373c0631ebf137f376fbea00e8086be7 (diff)
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: 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.992621707@linutronix.de
Diffstat (limited to 'arch/x86/entry/entry_64.S')
-rw-r--r--arch/x86/entry/entry_64.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S
index f47629a7f8e6..eeb428582d3d 100644
--- a/arch/x86/entry/entry_64.S
+++ b/arch/x86/entry/entry_64.S
@@ -642,7 +642,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)