[PATCH 6/6] perf_counter: tools: Makefile tweaks for 64-bit powerpc

Ingo Molnar mingo at elte.hu
Sat Jun 20 02:27:18 EST 2009


* Paul Mackerras <paulus at samba.org> wrote:

> 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.

Thanks, i've applied the patch. Note, it crossed with a few changes 
from Peter - i fixed up the conflicts - please double check whether 
it's still fine on PowerPC too.

	Ingo


More information about the Linuxppc-dev mailing list