Commit 8c3223a5 authored by Jingyu Wang's avatar Jingyu Wang Committed by Borislav Petkov (AMD)

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: default avatarJingyu Wang <jingyuwang_vip@163.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20220618154238.27749-1-jingyuwang_vip@163.com
parent fe15c26e
...@@ -1027,7 +1027,7 @@ SYM_CODE_START_LOCAL(paranoid_exit) ...@@ -1027,7 +1027,7 @@ SYM_CODE_START_LOCAL(paranoid_exit)
* *
* NB to anyone to try to optimize this code: this code does * NB to anyone to try to optimize this code: this code does
* not execute at all for exceptions from user mode. Those * 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 RESTORE_CR3 scratch_reg=%rax save_reg=%r14
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment