diff options
author | Christopher Kenna <cjk@cs.unc.edu> | 2012-10-02 22:40:58 -0400 |
---|---|---|
committer | Christopher Kenna <cjk@cs.unc.edu> | 2012-10-02 22:40:58 -0400 |
commit | 35d050083c0bd9b1e0e4cb2fd8a72a5bba5f2b9d (patch) | |
tree | 61b3f0fac52c4b1f01e6aff565634986cb1cf54d | |
parent | cbfc277a9d7639e5cd875de96c9bd8c66f1141ba (diff) |
Fix perf tools compile bug.
-rw-r--r-- | tools/perf/util/include/linux/compiler.h | 2 |
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 | ||