[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220310210709.1595028-1-longman@redhat.com>
Date: Thu, 10 Mar 2022 16:07:09 -0500
From: Waiman Long <longman@...hat.com>
To: Andy Lutomirski <luto@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org,
Waiman Long <longman@...hat.com>
Subject: [PATCH] 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.
Signed-off-by: Waiman Long <longman@...hat.com>
---
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
Powered by blists - more mailing lists