trace: fix printk warning for u64
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 27 Oct 2008 06:43:28 +0000 (17:43 +1100)
committerIngo Molnar <mingo@elte.hu>
Mon, 27 Oct 2008 10:31:58 +0000 (11:31 +0100)
commite2862c9470beb842d3f1c1965b03a2112114c160
tree9e906a19340ba4f4d4145977c82a2b1a46d4edd7
parent4944dd62de21230af039eda7cd218e9a09021d11
trace: fix printk warning for u64

A powerpc ppc64_defconfig build produces these warnings:

kernel/trace/ring_buffer.c: In function 'rb_add_time_stamp':
kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'u64'
kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'u64'
kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'u64'

Just cast the u64s to unsigned long long like we do everywhere else.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ring_buffer.c