From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH] KVM: fix a syntax error in pmu.c Date: Thu, 29 Dec 2011 11:46:08 +0200 Message-ID: <20111229094608.GH2072@redhat.com> References: <1B4B44D9196EFF41AE41FDA404FC0A10E806@SHSMSX101.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "avi@redhat.com" , "kvm@vger.kernel.org" To: "Ren, Yongjie" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:1025 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751886Ab1L2JqL (ORCPT ); Thu, 29 Dec 2011 04:46:11 -0500 Content-Disposition: inline In-Reply-To: <1B4B44D9196EFF41AE41FDA404FC0A10E806@SHSMSX101.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Dec 29, 2011 at 09:40:37AM +0000, Ren, Yongjie wrote: > Fix a syntax error in arch/x86/kvm/pmu.c > That is fixed already in kvm.git next branch. > Signed-off-by: Yongjie Ren > --- > diff --git a/arch/x86/kvm/pmu.c b/arch/x86/kvm/pmu.c > index 061a03f..8f142bf 100644 > --- a/arch/x86/kvm/pmu.c > +++ b/arch/x86/kvm/pmu.c > @@ -170,9 +170,9 @@ static void reprogram_counter(struct kvm_pmc *pmc, u32 type, > .exclude_host = 1, > .exclude_user = exclude_user, > .exclude_kernel = exclude_kernel, > - .sample_period = (-pmc->counter) & pmc_bitmask(pmc), > .config = config, > }; > + attr.sample_period = (-pmc->counter) & pmc_bitmask(pmc), > > event = perf_event_create_kernel_counter(&attr, -1, current, > intr ? kvm_perf_overflow_intr : > > > Best Regards, > Yongjie Ren (Jay) > > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Gleb.