diff options
Diffstat (limited to 'tools/perf/util/include/linux/compiler.h')
-rw-r--r-- | tools/perf/util/include/linux/compiler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/util/include/linux/compiler.h b/tools/perf/util/include/linux/compiler.h index ce2367b7b3f6..96b919dae11c 100644 --- a/tools/perf/util/include/linux/compiler.h +++ b/tools/perf/util/include/linux/compiler.h | |||
@@ -9,7 +9,9 @@ | |||
9 | #define __attribute_const__ | 9 | #define __attribute_const__ |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | #define __used __attribute__((__unused__)) | 12 | #ifndef __maybe_unused |
13 | #define __maybe_unused __attribute__((unused)) | ||
14 | #endif | ||
13 | #define __packed __attribute__((__packed__)) | 15 | #define __packed __attribute__((__packed__)) |
14 | 16 | ||
15 | #ifndef __force | 17 | #ifndef __force |