aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-08 11:43:00 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-08 11:43:00 -0400
commite3c55d406bd8df1a878546002c93db90c42be10c (patch)
treeefb0ba2707c95fd7166cf1b76887c43c977e37dd /tools/perf/perf.h
parent4d6e482675f13e33599fc3d18fc723959be0a9b6 (diff)
parentd0e639c9e06d44e713170031fe05fb60ebe680af (diff)
Merge tag 'v3.12-rc4' into next
Merge with mainline to bring in changes to input subsystem that were committed through other trees.
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r--tools/perf/perf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 32bd102c32b6..cf20187eee0a 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -125,6 +125,9 @@
125#ifndef NSEC_PER_SEC 125#ifndef NSEC_PER_SEC
126# define NSEC_PER_SEC 1000000000ULL 126# define NSEC_PER_SEC 1000000000ULL
127#endif 127#endif
128#ifndef NSEC_PER_USEC
129# define NSEC_PER_USEC 1000ULL
130#endif
128 131
129static inline unsigned long long rdclock(void) 132static inline unsigned long long rdclock(void)
130{ 133{