Skip to content

Commit 375d1ad

Browse files
committed
Merge branch 'kvm-vmx-secctl' into kvm-master
Merge common topic branch for 5.14-rc6 and 5.15 merge window.
2 parents ffbe17c + 7b9cae0 commit 375d1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kvm/vmx/vmx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ static inline struct vmcs *alloc_vmcs(bool shadow)
522522

523523
static inline bool vmx_has_waitpkg(struct vcpu_vmx *vmx)
524524
{
525-
return vmx->secondary_exec_control &
525+
return secondary_exec_controls_get(vmx) &
526526
SECONDARY_EXEC_ENABLE_USR_WAIT_PAUSE;
527527
}
528528

0 commit comments

Comments
 (0)