xen/x86: Implement enable_nmis() in C
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 15 Mar 2018 16:15:45 +0000 (16:15 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 15 Mar 2018 17:40:41 +0000 (17:40 +0000)
commit7e9b3599f5daa585ded5be84c8d4767d0f0bc2da
tree8d6a6a94002e62247a2915d49a339be01992e9c5
parent6227a40f67adf535c1b7fcd9b95f7c42c0bb4ed9
xen/x86: Implement enable_nmis() in C

I don't recall why I chose to implement this in assembly to begin with, but
it can happily live in a static inline instead, and only has two callers.

Doing so reduces the quantity of code in .text.entry.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/x86_64/entry.S
xen/include/asm-x86/processor.h