summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-12-10 13:23:19 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-12-10 13:23:19 +0100
commite9c0748b687aa70179a9e6d8ffc24b2874fe350b (patch)
treea7f3093cbe19b0f890bb91c13d60093411a0a7d6 /lib
parent5f201907dfe4ad42c44006ddfcec00ed12e59497 (diff)
downloadop-kernel-dev-e9c0748b687aa70179a9e6d8ffc24b2874fe350b.zip
op-kernel-dev-e9c0748b687aa70179a9e6d8ffc24b2874fe350b.tar.gz
itimer: Fix the itimer trace print format
Compiling powerpc64 results in: include/trace/events/timer.h:279: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'cputime_t' .... cputime_t on power is u64, which triggers the above warning. Cast the cputime_t to unsigned long long and fix the print format string. That works on both 32 and 64 bit architectures. While at it change the print format for long variables from %lu to %ld. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud