]> git.baikalelectronics.ru Git - kernel.git/commitdiff
x86/entry/64: Remove error_exit()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 May 2020 20:05:31 +0000 (22:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:10 +0000 (15:15 +0200)
No more users.

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.516757524@linutronix.de
arch/x86/entry/entry_64.S

index a526fb57b65d5190dd0fb5c16eb5e0619de8f427..76993591fdf60d69f80cb344c5bb5bc93d5fe37f 100644 (file)
@@ -1356,15 +1356,6 @@ SYM_CODE_START_LOCAL(error_entry)
        jmp     .Lerror_entry_from_usermode_after_swapgs
 SYM_CODE_END(error_entry)
 
-SYM_CODE_START_LOCAL(error_exit)
-       UNWIND_HINT_REGS
-       DISABLE_INTERRUPTS(CLBR_ANY)
-       TRACE_IRQS_OFF
-       testb   $3, CS(%rsp)
-       jz      retint_kernel
-       jmp     .Lretint_user
-SYM_CODE_END(error_exit)
-
 SYM_CODE_START_LOCAL(error_return)
        UNWIND_HINT_REGS
        DEBUG_ENTRY_ASSERT_IRQS_OFF