]> git.karo-electronics.de Git - linux-beck.git/commitdiff
KVM: VMX: rename vpid_sync_vcpu_all() to vpid_sync_vcpu_single()
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>
Mon, 7 Jun 2010 02:33:27 +0000 (10:33 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:46:16 +0000 (10:46 +0300)
The name "pid_sync_vcpu_all" isn't appropriate since it just affect
a single vpid, so rename it to vpid_sync_vcpu_single().

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c

index 622d83b0caf33b57d3b4b5766bd5d6435abb2382..7d7361750bf26f51c97d98c79b6d26b90f7631c5 100644 (file)
@@ -509,7 +509,7 @@ static void vcpu_clear(struct vcpu_vmx *vmx)
        smp_call_function_single(vmx->vcpu.cpu, __vcpu_clear, vmx, 1);
 }
 
-static inline void vpid_sync_vcpu_all(struct vcpu_vmx *vmx)
+static inline void vpid_sync_vcpu_single(struct vcpu_vmx *vmx)
 {
        if (vmx->vpid == 0)
                return;
@@ -527,7 +527,7 @@ static inline void vpid_sync_vcpu_global(void)
 static inline void vpid_sync_context(struct vcpu_vmx *vmx)
 {
        if (cpu_has_vmx_invvpid_single())
-               vpid_sync_vcpu_all(vmx);
+               vpid_sync_vcpu_single(vmx);
        else
                vpid_sync_vcpu_global();
 }