Commit 18823662 authored by Xin Li (Intel)'s avatar Xin Li (Intel) Committed by Ingo Molnar

x86/entry: Fix typos in comments

Fix 2 typos in the comments.
Signed-off-by: default avatarXin Li (Intel) <xin@zytor.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Acked-by: default avatarH. Peter Anvin (Intel) <hpa@zytor.com>
Link: https://lore.kernel.org/r/20230926061319.1929127-1-xin@zytor.com
parent da4aff62
...@@ -1163,8 +1163,8 @@ SYM_CODE_START(asm_exc_nmi) ...@@ -1163,8 +1163,8 @@ SYM_CODE_START(asm_exc_nmi)
* anyway. * anyway.
* *
* To handle this case we do the following: * To handle this case we do the following:
* Check the a special location on the stack that contains * Check a special location on the stack that contains a
* a variable that is set when NMIs are executing. * variable that is set when NMIs are executing.
* The interrupted task's stack is also checked to see if it * The interrupted task's stack is also checked to see if it
* is an NMI stack. * is an NMI stack.
* If the variable is not set and the stack is not the NMI * If the variable is not set and the stack is not the NMI
...@@ -1294,8 +1294,8 @@ SYM_CODE_START(asm_exc_nmi) ...@@ -1294,8 +1294,8 @@ SYM_CODE_START(asm_exc_nmi)
* end_repeat_nmi, then we are a nested NMI. We must not * end_repeat_nmi, then we are a nested NMI. We must not
* modify the "iret" frame because it's being written by * modify the "iret" frame because it's being written by
* the outer NMI. That's okay; the outer NMI handler is * the outer NMI. That's okay; the outer NMI handler is
* about to about to call exc_nmi() anyway, so we can just * about to call exc_nmi() anyway, so we can just resume
* resume the outer NMI. * the outer NMI.
*/ */
movq $repeat_nmi, %rdx movq $repeat_nmi, %rdx
......
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