perf sched: Fix build failure on sparc
commit2cd9046cc53dd2625e2cf5854d6cbb1ba61de914
authorDavid Miller <davem@davemloft.net>
Mon, 14 Dec 2009 07:56:22 +0000 (13 23:56 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 14 Dec 2009 07:59:12 +0000 (14 08:59 +0100)
treecc2ba20216c7d41e72ab9c01abcbb7f138d76c84
parent2044279d1e07c90edd64324f09c7adf1acfc42e5
perf sched: Fix build failure on sparc

Here, tvec->tv_usec is "unsigned int" not "unsigned long".

Since the type is different on every platform, it's probably
best to just use long printf formats and cast.

Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091213.235622.53363059.davem@davemloft.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/bench/sched-messaging.c
tools/perf/bench/sched-pipe.c