perf bench futex: Add missing compiler.h header
Subsystems (2)
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 86695f59c952031e5596f286773d76268f3e3aad Gitweb: http://git.kernel.org/tip/86695f59c952031e5596f286773d76268f3e3aad Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Mon, 11 Jul 2016 10:05:52 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 12 Jul 2016 15:20:30 -0300
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 <[email protected]>
Cc David Ahern <[email protected]>
Cc Davidlohr Bueso <[email protected]>
Cc Hitoshi Mitake <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/bench/futex-hash.c | 1 + tools/perf/bench/futex-lock-pi.c | 1 + tools/perf/bench/futex-requeue.c | 1 + tools/perf/bench/futex-wake-parallel.c | 1 + tools/perf/bench/futex-wake.c | 1 + 5 files changed, 5 insertions(+)
tools/perf/bench/futex-hash.c +1 -0
@@ -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>
tools/perf/bench/futex-lock-pi.c +1 -0
@@ -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"
tools/perf/bench/futex-requeue.c +1 -0
@@ -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"
tools/perf/bench/futex-wake-parallel.c +1 -0
@@ -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"
tools/perf/bench/futex-wake.c +1 -0
@@ -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"