]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commitdiff
building with perfc=y was broken
authorDario Faggioli <dario.faggioli@citrix.com>
Tue, 15 Dec 2015 13:16:45 +0000 (14:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2015 13:16:45 +0000 (14:16 +0100)
because of b38d426ad09 ("x86/viridian: flush remote tlbs
by hypercall") which was defining mshv_call_flush, but using
mshv_flush.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/viridian.c

index df6f26d6567fe53ca6bc3ade67972a4211acb035..6bd844bff9d4d46965eff84ab4004fbf0d560aaf 100644 (file)
@@ -607,7 +607,7 @@ int viridian_hypercall(struct cpu_user_regs *regs)
          * See Microsoft Hypervisor Top Level Spec. sections 12.4.2
          * and 12.4.3.
          */
-        perfc_incr(mshv_flush);
+        perfc_incr(mshv_call_flush);
 
         /* These hypercalls should never use the fast-call convention. */
         status = HV_STATUS_INVALID_PARAMETER;