aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/entry_64.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
index debd851de6ff..1333d9851778 100644
--- a/arch/x86/kernel/entry_64.S
+++ b/arch/x86/kernel/entry_64.S
@@ -1535,14 +1535,14 @@ ENTRY(nmi)
1535 * If %cs was not the kernel segment, then the NMI triggered in user 1535 * If %cs was not the kernel segment, then the NMI triggered in user
1536 * space, which means it is definitely not nested. 1536 * space, which means it is definitely not nested.
1537 */ 1537 */
1538 cmp $__KERNEL_CS, 16(%rsp) 1538 cmpl $__KERNEL_CS, 16(%rsp)
1539 jne first_nmi 1539 jne first_nmi
1540 1540
1541 /* 1541 /*
1542 * Check the special variable on the stack to see if NMIs are 1542 * Check the special variable on the stack to see if NMIs are
1543 * executing. 1543 * executing.
1544 */ 1544 */
1545 cmp $1, -8(%rsp) 1545 cmpl $1, -8(%rsp)
1546 je nested_nmi 1546 je nested_nmi
1547 1547
1548 /* 1548 /*