The C entry points do not expect an error code.

Signed-off-by: Thomas Gleixner <t...@linutronix.de>
---
 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)

Reply via email to