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 ED440B72F4 for ; Fri, 19 Jun 2009 18:16:46 +1000 (EST) Received: from bilbo.ozlabs.org (bilbo.ozlabs.org [203.10.76.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bilbo.ozlabs.org", Issuer "CAcert Class 3 Root" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id D55ECDDD1B for ; Fri, 19 Jun 2009 18:16:46 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <19003.18793.605755.277949@cargo.ozlabs.ibm.com> Date: Fri, 19 Jun 2009 18:16:41 +1000 From: Paul Mackerras To: Ingo Molnar Subject: Re: [PATCH 6/6] perf_counter: tools: Makefile tweaks for 64-bit powerpc In-Reply-To: <20090618091334.GB21191@elte.hu> References: <19000.55404.103840.393470@cargo.ozlabs.ibm.com> <19000.55666.866148.559620@cargo.ozlabs.ibm.com> <20090618091334.GB21191@elte.hu> Cc: linuxppc-dev@ozlabs.org, Peter Zijlstra , linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Ingo Molnar writes: > Note, i left out this bit from the commit - we need to find a better > solution than to allow ugly warnings on PowerPC. > > Could we use the kernel's u64 type directly perhaps? That would > allow us to change all __u64 to u64 in all of tools/perf/ which is a > nice clean-up in any case. This is userspace, we can use "u64" however we like. :) I'll cook up a patch to add "typedef unsigned long long u64" and change __u64 to u64. Paul.