From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 0873EB71C6 for ; Fri, 12 Jun 2009 18:16:16 +1000 (EST) Received: from e23smtp03.au.ibm.com (e23smtp03.au.ibm.com [202.81.31.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e23smtp03.au.ibm.com", Issuer "Equifax" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id D2D93DDD01 for ; Fri, 12 Jun 2009 18:16:15 +1000 (EST) Received: from d23relay02.au.ibm.com (d23relay02.au.ibm.com [202.81.31.244]) by e23smtp03.au.ibm.com (8.13.1/8.13.1) with ESMTP id n5C8EC9l023865 for ; Fri, 12 Jun 2009 18:14:12 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay02.au.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5C8GF7m762024 for ; Fri, 12 Jun 2009 18:16:15 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n5C8GE7o020178 for ; Fri, 12 Jun 2009 18:16:15 +1000 Message-ID: <4A320ECC.6000107@in.ibm.com> Date: Fri, 12 Jun 2009 13:46:12 +0530 From: Sachin Sant MIME-Version: 1.0 To: Jaswinder Singh Rajput Subject: Re: [PowerPC] 2.6.30-git3 build break : perf counters References: <4A31ECCD.7030805@in.ibm.com> <1244788494.5554.1.camel@ht.satnam> In-Reply-To: <1244788494.5554.1.camel@ht.satnam> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-dev@ozlabs.org, Ingo Molnar , Paul Mackerras , linux-kernel List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Jaswinder Singh Rajput wrote: > Please check this patch : > > [PATCH] powerpc: perf_counter fix performance counter event types > > Fix compilation warnings : > CC arch/powerpc/kernel/power7-pmu.o > arch/powerpc/kernel/power7-pmu.c:297: error: PERF_COUNT_CPU_CYCLES undeclared here (not in a function) > arch/powerpc/kernel/power7-pmu.c:297: error: array index in initializer not of integer type > arch/powerpc/kernel/power7-pmu.c:297: error: (near initialization for power7_generic_events) > arch/powerpc/kernel/power7-pmu.c:298: error: PERF_COUNT_INSTRUCTIONS undeclared here (not in a function) > arch/powerpc/kernel/power7-pmu.c:298: error: array index in initializer not of integer type > ............ > > Reported-by: Sachin Sant > Signed-off-by: Jaswinder Singh Rajput > --- > Yes this fixed the build error. Thanks -Sachin -- --------------------------------- Sachin Sant IBM Linux Technology Center India Systems and Technology Labs Bangalore, India --------------------------------- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762913AbZFLIQ2 (ORCPT ); Fri, 12 Jun 2009 04:16:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758169AbZFLIQP (ORCPT ); Fri, 12 Jun 2009 04:16:15 -0400 Received: from e23smtp02.au.ibm.com ([202.81.31.144]:54403 "EHLO e23smtp02.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754508AbZFLIQN (ORCPT ); Fri, 12 Jun 2009 04:16:13 -0400 Message-ID: <4A320ECC.6000107@in.ibm.com> Date: Fri, 12 Jun 2009 13:46:12 +0530 From: Sachin Sant User-Agent: Thunderbird 2.0.0.19 (X11/20081216) MIME-Version: 1.0 To: Jaswinder Singh Rajput CC: Paul Mackerras , linuxppc-dev@ozlabs.org, linux-kernel , Ingo Molnar Subject: Re: [PowerPC] 2.6.30-git3 build break : perf counters References: <4A31ECCD.7030805@in.ibm.com> <1244788494.5554.1.camel@ht.satnam> In-Reply-To: <1244788494.5554.1.camel@ht.satnam> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jaswinder Singh Rajput wrote: > Please check this patch : > > [PATCH] powerpc: perf_counter fix performance counter event types > > Fix compilation warnings : > CC arch/powerpc/kernel/power7-pmu.o > arch/powerpc/kernel/power7-pmu.c:297: error: PERF_COUNT_CPU_CYCLES undeclared here (not in a function) > arch/powerpc/kernel/power7-pmu.c:297: error: array index in initializer not of integer type > arch/powerpc/kernel/power7-pmu.c:297: error: (near initialization for power7_generic_events) > arch/powerpc/kernel/power7-pmu.c:298: error: PERF_COUNT_INSTRUCTIONS undeclared here (not in a function) > arch/powerpc/kernel/power7-pmu.c:298: error: array index in initializer not of integer type > ............ > > Reported-by: Sachin Sant > Signed-off-by: Jaswinder Singh Rajput > --- > Yes this fixed the build error. Thanks -Sachin -- --------------------------------- Sachin Sant IBM Linux Technology Center India Systems and Technology Labs Bangalore, India ---------------------------------