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
* Paul Mackerras pau...@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
* Paul Mackerras pau...@samba.org wrote:
This also removes the -Werror flag when building on a 64-bit powerpc
machine. The userspace definition of u64 is unsigned long rather
than unsigned long long, meaning that gcc warns every time a u64
is printed with %Lx or %llx (though that does work
Ingo Molnar writes:
ah, it does this:
/*
* This is here because we used to use l64 for 64bit powerpc
* and we don't want to impact user mode with our change to ll64
* in the kernel.
*/
#if defined(__powerpc64__) !defined(__KERNEL__)
# include asm-generic/int-l64.h
#else
# include
* Paul Mackerras pau...@samba.org wrote:
Ingo Molnar writes:
ah, it does this:
/*
* This is here because we used to use l64 for 64bit powerpc
* and we don't want to impact user mode with our change to ll64
* in the kernel.
*/
#if defined(__powerpc64__)