diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-10-09 04:12:41 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-09 09:56:44 -0400 |
commit | 3365e7798760dc6c190a9bbb0945a38f02625438 (patch) | |
tree | c3c1b49dcf4c2fcbddf1af27c281c9a7a55219ad /arch/sh/kernel/machine_kexec.c | |
parent | 36a07902c2134649c4af7f07980413ffb1a56085 (diff) |
lockdep: Use cpu_clock() for lockstat
Some tracepoint magic (TRACE_EVENT(lock_acquired)) relies on
the fact that lock hold times are positive and uses div64 on
that. That triggered a build warning on MIPS, and probably
causes bad output in certain circumstances as well.
Make it truly positive.
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1254818502.21044.112.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/sh/kernel/machine_kexec.c')
0 files changed, 0 insertions, 0 deletions