Re: [PATCH 6/6] perf_counter: tools: Makefile tweaks for 64-bitpowerpc

From: Ingo Molnar
Date: Fri Jun 19 2009 - 12:27:36 EST



* Paul Mackerras <paulus@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/