[PATCH] x86/entry_64: Fix incorrect comment referring to error_exit

From: Waiman Long
Date: Thu Mar 10 2022 - 16:07:52 EST


Since commit 23d73f2ad4e7 ("x86/entry/64: Remove error_exit()") and
related commits, the error_exit symbol name is gone and error_return is
used instead. Fix the incorrect comment in paranoid_exit to correctly
reference error_return.

Signed-off-by: Waiman Long <longman@xxxxxxxxxx>
---
arch/x86/entry/entry_64.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S
index 466df3e50276..7077b076323e 100644
--- a/arch/x86/entry/entry_64.S
+++ b/arch/x86/entry/entry_64.S
@@ -939,7 +939,7 @@ SYM_CODE_START_LOCAL(paranoid_exit)
*
* NB to anyone to try to optimize this code: this code does
* not execute at all for exceptions from user mode. Those
- * exceptions go through error_exit instead.
+ * exceptions go through error_return instead.
*/
RESTORE_CR3 scratch_reg=%rax save_reg=%r14

--
2.27.0