x86/efer: Make {read,write}_efer() into inline helpers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 23 Oct 2017 09:49:33 +0000 (10:49 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 14 Dec 2017 18:05:45 +0000 (18:05 +0000)
commitd630832f9f9c2ef80b04a2c7d7f08581a18df2b3
tree7ba5c0410a21878dbc6092ccf4bd6ce33f7c37c1
parentfe66b42da63b820ae75dd9dd2987b32f0631ec4e
x86/efer: Make {read,write}_efer() into inline helpers

There is no need for the overhead of a call to a separate translation unit.
While moving the implementation, update them to use uint64_t over u64

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/traps.c
xen/include/asm-x86/msr.h