Re: trace: fix printk warning for u64

Andrew Morton
2008-10-28T05:07:44Z

On Tue, 28 Oct 2008 00:12:54 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi Ingo,
>
> On Mon, 27 Oct 2008 10:52:48 +0100 Ingo Molnar <mingo@elte.hu> wrote:
> >
> > (btw., did the "unify u64 definitions across all platforms" project
> > get anywhere?)
>
> I think (from a comment from DaveM) that it led into a real mess.

The problem is the large amount of arch-specific code which is printing
u64's with %lu because it "knows" that u64 is implemented as ulong.
They all need to be switched to %ll.

A better strategy to get all this done would be to convert the
offending architectures to `long long' individually. Then when that's
all done, unifying the typedef is a trivial step.