perf tools: Add missing linux/compiler.h include to perf-sys.h
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 14f0652b4fbebd0b05da36a06b17ac6d4d87a8f8 Gitweb: http://git.kernel.org/tip/14f0652b4fbebd0b05da36a06b17ac6d4d87a8f8 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Mon, 18 Jul 2016 17:40:49 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Mon, 18 Jul 2016 17:40:49 -0300
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 <[email protected]>
Cc David Ahern <[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/perf-sys.h | 1 + 1 file changed, 1 insertion(+)
tools/perf/perf-sys.h +1 -0
@@ -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>