Commit [b01d4e] Maximize Restore History

x86: fix compile error due to X86_TRAP_NMI use in asm files

It's an enum, not a #define, you can't use it in asm files.

Introduced in commit 5fa10196bdb5 ("x86: Ignore NMIs that come in during
early boot"), and sadly I didn't compile-test things like I should have
before pushing out.

My weak excuse is that the x86 tree generally doesn't introduce stupid
things like this (and the ARM pull afterwards doesn't cause me to do a
compile-test either, since I don't cross-compile).

Cc: Don Zickus <dzickus@redhat.com>
Cc: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Linus Torvalds Linus Torvalds 2014-03-08

changed arch
changed arch/x86
changed arch/x86/kernel
changed arch/x86/kernel/head_32.S
changed arch/x86/kernel/head_64.S
arch
Directory.
arch/x86
Directory.
arch/x86/kernel
Directory.
arch/x86/kernel/head_32.S Diff Switch to side-by-side view
Loading...
arch/x86/kernel/head_64.S Diff Switch to side-by-side view
Loading...