diff options
author | 2013-05-07 16:38:40 +0800 | |
---|---|---|
committer | 2013-05-28 14:00:57 -0700 | |
commit | a44b8bd6072ac82fc49af941de8c1ac85d94852d (patch) | |
tree | 4a22da9a515052ac2f87af4129353fed206f80f9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | clocksource: Implement clocksource_select_fallback() for CONFIG_ARCH_USES_GETTIMEOFFSET=y (diff) | |
download | linux-dev-a44b8bd6072ac82fc49af941de8c1ac85d94852d.tar.xz linux-dev-a44b8bd6072ac82fc49af941de8c1ac85d94852d.zip |
ktime: Use macro NSEC_PER_USEC where appropriate
We've got the macro NSEC_PER_USEC defined in header file
include/linux/time.h. To make the code decent, this patch
replaces the immediate number 1000 to convert bewteen a
time value in microseconds and one in nanoseconds with the
macro NSEC_PER_USEC.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions