From: Dario Faggioli Subject: [PATCH] xen: building with perfc=y was broken Date: Mon, 14 Dec 2015 18:45:28 +0100 Message-ID: <20151214174528.16873.64887.stgit@Solace.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a8XBl-0007qP-6W for xen-devel@lists.xenproject.org; Mon, 14 Dec 2015 17:45:33 +0000 Received: by mail-wm0-f46.google.com with SMTP id p66so55453729wmp.0 for ; Mon, 14 Dec 2015 09:45:31 -0800 (PST) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Andrew Cooper , Paul Durrant , Jan Beulich List-Id: xen-devel@lists.xenproject.org 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 Cc: Jan Beulich Cc: Andrew Cooper Cc: Paul Durrant --- xen/arch/x86/hvm/viridian.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/viridian.c b/xen/arch/x86/hvm/viridian.c index df6f26d..6bd844b 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;