diff options
-rw-r--r-- | arch/x86/kernel/head_32.S | 2 | ||||
-rw-r--r-- | arch/x86/kernel/head_64.S | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index d2a21590794a..f36bd42d6f0c 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S | |||
@@ -545,7 +545,7 @@ ENDPROC(early_idt_handlers) | |||
545 | ENTRY(early_idt_handler) | 545 | ENTRY(early_idt_handler) |
546 | cld | 546 | cld |
547 | 547 | ||
548 | cmpl $X86_TRAP_NMI,(%esp) | 548 | cmpl $2,(%esp) # X86_TRAP_NMI |
549 | je is_nmi # Ignore NMI | 549 | je is_nmi # Ignore NMI |
550 | 550 | ||
551 | cmpl $2,%ss:early_recursion_flag | 551 | cmpl $2,%ss:early_recursion_flag |
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S index 33f36c78594e..a468c0a65c42 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S | |||
@@ -343,7 +343,7 @@ early_idt_handlers: | |||
343 | ENTRY(early_idt_handler) | 343 | ENTRY(early_idt_handler) |
344 | cld | 344 | cld |
345 | 345 | ||
346 | cmpl $X86_TRAP_NMI,(%rsp) | 346 | cmpl $2,(%rsp) # X86_TRAP_NMI |
347 | je is_nmi # Ignore NMI | 347 | je is_nmi # Ignore NMI |
348 | 348 | ||
349 | cmpl $2,early_recursion_flag(%rip) | 349 | cmpl $2,early_recursion_flag(%rip) |