diff options
Diffstat (limited to 'tools/perf')
| -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 | ||
