aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/perf.h')
-rw-r--r--tools/perf/perf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index ce394192c85a..27887c916439 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -52,6 +52,8 @@ static inline unsigned long long rdclock(void)
52#define __user 52#define __user
53#define asmlinkage 53#define asmlinkage
54 54
55#define __used __attribute__((__unused__))
56
55#define unlikely(x) __builtin_expect(!!(x), 0) 57#define unlikely(x) __builtin_expect(!!(x), 0)
56#define min(x, y) ({ \ 58#define min(x, y) ({ \
57 typeof(x) _min1 = (x); \ 59 typeof(x) _min1 = (x); \