aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2012-10-02 22:40:58 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2012-10-02 22:40:58 -0400
commit35d050083c0bd9b1e0e4cb2fd8a72a5bba5f2b9d (patch)
tree61b3f0fac52c4b1f01e6aff565634986cb1cf54d
parentcbfc277a9d7639e5cd875de96c9bd8c66f1141ba (diff)
Fix perf tools compile bug.
-rw-r--r--tools/perf/util/include/linux/compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/include/linux/compiler.h b/tools/perf/util/include/linux/compiler.h
index 791f9dd27ebf..547628e97f3d 100644
--- a/tools/perf/util/include/linux/compiler.h
+++ b/tools/perf/util/include/linux/compiler.h
@@ -5,7 +5,9 @@
5#define __always_inline inline 5#define __always_inline inline
6#endif 6#endif
7#define __user 7#define __user
8#ifndef __attribute_const__
8#define __attribute_const__ 9#define __attribute_const__
10#endif
9 11
10#define __used __attribute__((__unused__)) 12#define __used __attribute__((__unused__))
11 13