diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-05-21 23:05:27 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-06-11 16:15:08 +0300 |
commit | 00cf8baf9c2af3c17f9d77bb9d07d44d330d0df2 (patch) | |
tree | 7c47ce63c4b4fee13e134c838417fc40101ceae1 /arch | |
parent | 2f6474e4636bcc68af6c44abb2703f12d7f083da (diff) | |
download | linux-00cf8baf9c2af3c17f9d77bb9d07d44d330d0df2.tar.xz |
x86/entry/64: Simplify idtentry_body
All C functions which do not have an error code have been converted to the
new IDTENTRY interface which does not expect an error code in the
arguments. Spare the XORL.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20200521202118.145811853@linutronix.de
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/entry/entry_64.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S index dadb37d07266..b70c7788ef08 100644 --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S @@ -531,8 +531,6 @@ SYM_CODE_END(spurious_entries_start) .if \has_error_code == 1 movq ORIG_RAX(%rsp), %rsi /* get error code into 2nd argument*/ movq $-1, ORIG_RAX(%rsp) /* no syscall to restart */ - .else - xorl %esi, %esi /* Clear the error code */ .endif .if \vector == X86_TRAP_PF |