There's no need to recalculate / refetch the value from the stack
(pointer).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
* out of hardware.
*/
#ifdef CONFIG_HVM
- if ( v == current && is_hvm_domain(d) && v->arch.hvm.flag_dr_dirty )
+ if ( v == curr && is_hvm_domain(d) && v->arch.hvm.flag_dr_dirty )
rdmsrl(msr, *val);
else
#endif
{
uint64_t xcr0 = get_xcr0();
- if ( v != current ||
+ if ( v != curr ||
handle_xsetbv(XCR_XFEATURE_ENABLED_MASK,
xcr0 | X86_XCR0_BNDREGS | X86_XCR0_BNDCSR) )
goto gp_fault;