summaryrefslogtreecommitdiffstats
path: root/include/net/protocol.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-10-09 10:12:41 +0200
committerIngo Molnar <mingo@elte.hu>2009-10-09 15:56:44 +0200
commit3365e7798760dc6c190a9bbb0945a38f02625438 (patch)
treec3c1b49dcf4c2fcbddf1af27c281c9a7a55219ad /include/net/protocol.h
parent36a07902c2134649c4af7f07980413ffb1a56085 (diff)
downloadop-kernel-dev-3365e7798760dc6c190a9bbb0945a38f02625438.zip
op-kernel-dev-3365e7798760dc6c190a9bbb0945a38f02625438.tar.gz
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 'include/net/protocol.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud