x86/emul: Introduce common msr_val for emulation
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 2 Nov 2016 15:50:23 +0000 (15:50 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 21 Feb 2017 13:49:31 +0000 (13:49 +0000)
commit65ddae6e3ce54373860cf53c589e6eafaba5eba5
tree56b421ea48a3514eeffc977489b78935e8768569
parent49de10f3c1718bb952f4b075d07f37eb9f605b2b
x86/emul: Introduce common msr_val for emulation

Use it consistently in place of local tsc_aux, msr_content and val
declarations, and replace opencoded uses of X86EMUL_OKAY.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/x86_emulate/x86_emulate.c