x86/nmi/64: Make the "NMI executing" variable more consistent
authorAndy Lutomirski <luto@kernel.org>
Wed, 15 Jul 2015 17:29:40 +0000 (10:29 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 17 Jul 2015 10:50:13 +0000 (12:50 +0200)
commit36f1a77b3aa57c5c2eb1ae2d67d07c4350a78345
treed948951c13d43bfd632922c8c17ca56add40431d
parent23a781e987f05029c4a99a5c145be3efa6eda9f3
x86/nmi/64: Make the "NMI executing" variable more consistent

Currently, "NMI executing" is one the first time an outermost
NMI hits repeat_nmi and zero thereafter.  Change it to be zero
each time for consistency.

This is intended to help NMI handling fail harder if it's buggy.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/entry_64.S