summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/perf/bench/futex-hash.c1
-rw-r--r--tools/perf/bench/futex-lock-pi.c1
-rw-r--r--tools/perf/bench/futex-requeue.c1
-rw-r--r--tools/perf/bench/futex-wake-parallel.c1
-rw-r--r--tools/perf/bench/futex-wake.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/bench/futex-hash.c b/tools/perf/bench/futex-hash.c
index caa9726ec9bd..8024cd5febd2 100644
--- a/tools/perf/bench/futex-hash.c
+++ b/tools/perf/bench/futex-hash.c
@@ -14,6 +14,7 @@
#include <errno.h>
#include <signal.h>
#include <stdlib.h>
+#include <linux/compiler.h>
#include <linux/kernel.h>
#include <sys/time.h>
diff --git a/tools/perf/bench/futex-lock-pi.c b/tools/perf/bench/futex-lock-pi.c
index e2ba0d6f64fe..936d89d30483 100644
--- a/tools/perf/bench/futex-lock-pi.c
+++ b/tools/perf/bench/futex-lock-pi.c
@@ -8,6 +8,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"
diff --git a/tools/perf/bench/futex-requeue.c b/tools/perf/bench/futex-requeue.c
index 7eceb0500900..f96e22ed9f87 100644
--- a/tools/perf/bench/futex-requeue.c
+++ b/tools/perf/bench/futex-requeue.c
@@ -14,6 +14,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"
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"
diff --git a/tools/perf/bench/futex-wake.c b/tools/perf/bench/futex-wake.c
index e978d5610e5f..87d8f4f292d9 100644
--- a/tools/perf/bench/futex-wake.c
+++ b/tools/perf/bench/futex-wake.c
@@ -14,6 +14,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"