diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-18 23:40:49 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-18 23:40:49 +0300 |
commit | 14f0652b4fbebd0b05da36a06b17ac6d4d87a8f8 (patch) | |
tree | 549f288339a91d01bc0f23f065d4df29b0a76a83 /tools | |
parent | 9fcfcdf3c7b613c0d9536f57587456411b8a4e33 (diff) | |
download | linux-14f0652b4fbebd0b05da36a06b17ac6d4d87a8f8.tar.xz |
perf tools: Add missing linux/compiler.h include to perf-sys.h
It uses the likely/unlikely macros, so need to include
<linux/compiler.h>.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
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-p0xrhgbkicsii9ohmhhprqpi@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/perf-sys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/perf-sys.h b/tools/perf/perf-sys.h index 5cee8a3d0455..7ed72a475c57 100644 --- a/tools/perf/perf-sys.h +++ b/tools/perf/perf-sys.h @@ -5,6 +5,7 @@ #include <sys/types.h> #include <sys/syscall.h> #include <linux/types.h> +#include <linux/compiler.h> #include <linux/perf_event.h> #include <asm/barrier.h> |