Skip to contentSkip to conversation

x86/entry_64: Fix incorrect comment referring to error_exit

PATCH New Waiman Long 1 participant 1 message Mar 10, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/entry_64: Fix incorrect comment referring to error_exit

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.

---
 arch/x86/entry/entry_64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/entry/entry_64.S +1 -1
index 466df3e50276..7077b076323e 100644
@@ -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
 
Signature · 1 line
2.27.0