summaryrefslogtreecommitdiff
path: root/tools/perf/bench/futex-wake-parallel.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-07-11 10:05:52 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-07-12 15:20:30 -0300
commit86695f59c952031e5596f286773d76268f3e3aad (patch)
tree7d2a3ac512874c9318bbff0026b61b58bfcfe900 /tools/perf/bench/futex-wake-parallel.c
parent07eebccbca2c21f32b5142f1a55b3b6818c54116 (diff)
perf bench futex: Add missing compiler.h header
Since these files use __maybe_unused, and that is defined in linux/compiler.h, include it. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Davidlohr Bueso <dbueso@suse.de> Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-1llbf59ut6xon6ti88jm0n9j@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/bench/futex-wake-parallel.c')
-rw-r--r--tools/perf/bench/futex-wake-parallel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/bench/futex-wake-parallel.c b/tools/perf/bench/futex-wake-parallel.c
index 8143b54ff119..4a2ecd7438ca 100644
--- a/tools/perf/bench/futex-wake-parallel.c
+++ b/tools/perf/bench/futex-wake-parallel.c
@@ -13,6 +13,7 @@
#include <signal.h>
#include "../util/stat.h"
#include <subcmd/parse-options.h>
+#include <linux/compiler.h>
#include <linux/kernel.h>
#include <errno.h>
#include "bench.h"