summaryrefslogtreecommitdiff
path: root/arch/x86/entry
diff options
context:
space:
mode:
authorJingyu Wang <jingyuwang_vip@163.com>2022-06-18 18:42:38 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2023-03-06 10:04:03 +0300
commit8c3223a50faf1d173e0159eff10a9de902407135 (patch)
treecd693ffe6ec065d569f13f53b2e5a6dde53639cf /arch/x86/entry
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
downloadlinux-8c3223a50faf1d173e0159eff10a9de902407135.tar.xz
x86/entry: Change stale function name in comment to error_return()
Correct old function name error_exit() in the comment to what it is now called: error_return(). [ bp: Provide a commit message and massage. ] Signed-off-by: Jingyu Wang <jingyuwang_vip@163.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20220618154238.27749-1-jingyuwang_vip@163.com
Diffstat (limited to 'arch/x86/entry')
-rw-r--r--arch/x86/entry/entry_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S
index eccc3431e515..048866c20ba6 100644
--- a/arch/x86/entry/entry_64.S
+++ b/arch/x86/entry/entry_64.S
@@ -1027,7 +1027,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