From: Dario Faggioli Date: Tue, 15 Dec 2015 13:16:45 +0000 (+0100) Subject: building with perfc=y was broken X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=391192bd9bf3de641fdfc99e272af8b7b67e53ac;p=people%2Fjulieng%2Fxen-unstable.git building with perfc=y was broken 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 Reviewed-by: Andrew Cooper Reviewed-by: Paul Durrant --- diff --git a/xen/arch/x86/hvm/viridian.c b/xen/arch/x86/hvm/viridian.c index df6f26d656..6bd844bff9 100644 --- a/xen/arch/x86/hvm/viridian.c +++ b/xen/arch/x86/hvm/viridian.c @@ -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;