Merge branch 'for-upstream' of http://github.com/agraf/linux-2.6 into queue
[firefly-linux-kernel-4.4.55.git] / include / linux / kvm_host.h
index 0ca3663206f8191e725d4a8f2b1502dbbf18fbd7..6afc5be2615efa5f6312ce6a9ec3d30dbdf87031 100644 (file)
@@ -583,7 +583,6 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id);
 int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu);
 void kvm_arch_vcpu_destroy(struct kvm_vcpu *vcpu);
 
-int kvm_arch_vcpu_reset(struct kvm_vcpu *vcpu);
 int kvm_arch_hardware_enable(void *garbage);
 void kvm_arch_hardware_disable(void *garbage);
 int kvm_arch_hardware_setup(void);
@@ -738,7 +737,7 @@ static inline int kvm_deassign_device(struct kvm *kvm,
 static inline void kvm_guest_enter(void)
 {
        BUG_ON(preemptible());
-       account_system_vtime(current);
+       vtime_account(current);
        current->flags |= PF_VCPU;
        /* KVM does not hold any references to rcu protected data when it
         * switches CPU into a guest mode. In fact switching to a guest mode
@@ -752,7 +751,7 @@ static inline void kvm_guest_enter(void)
 
 static inline void kvm_guest_exit(void)
 {
-       account_system_vtime(current);
+       vtime_account(current);
        current->flags &= ~PF_VCPU;
 }