@@ -781,14 +781,14 @@ static void set_shadow_msr_intercept(struct kvm_vcpu *vcpu, u32 msr, int read,
/* Set the shadow bitmaps to the desired intercept states */
if (read)
- set_bit(slot, svm->shadow_msr_intercept.read);
+ __set_bit(slot, svm->shadow_msr_intercept.read);
else
- clear_bit(slot, svm->shadow_msr_intercept.read);
+ __clear_bit(slot, svm->shadow_msr_intercept.read);
if (write)
- set_bit(slot, svm->shadow_msr_intercept.write);
+ __set_bit(slot, svm->shadow_msr_intercept.write);
else
- clear_bit(slot, svm->shadow_msr_intercept.write);
+ __clear_bit(slot, svm->shadow_msr_intercept.write);
}
static bool valid_msr_intercept(u32 index)
@@ -4015,9 +4015,9 @@ void vmx_disable_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, int type)
idx = vmx_get_passthrough_msr_slot(msr);
if (idx >= 0) {
if (type & MSR_TYPE_R)
- clear_bit(idx, vmx->shadow_msr_intercept.read);
+ __clear_bit(idx, vmx->shadow_msr_intercept.read);
if (type & MSR_TYPE_W)
- clear_bit(idx, vmx->shadow_msr_intercept.write);
+ __clear_bit(idx, vmx->shadow_msr_intercept.write);
}
if ((type & MSR_TYPE_R) &&
@@ -4057,9 +4057,9 @@ void vmx_enable_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, int type)
idx = vmx_get_passthrough_msr_slot(msr);
if (idx >= 0) {
if (type & MSR_TYPE_R)
- set_bit(idx, vmx->shadow_msr_intercept.read);
+ __set_bit(idx, vmx->shadow_msr_intercept.read);
if (type & MSR_TYPE_W)
- set_bit(idx, vmx->shadow_msr_intercept.write);
+ __set_bit(idx, vmx->shadow_msr_intercept.write);
}
if (type & MSR_TYPE_R)