perf auxtrace: Include missing asm/bitsperlong.h to get BITS_PER_LONG
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 291ed51deee49ff35d0824fb7050538b449964d6 Gitweb: https://git.kernel.org/tip/291ed51deee49ff35d0824fb7050538b449964d6 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 25 Sep 2018 11:52:10 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Mon, 8 Oct 2018 14:23:43 -0300
perf auxtrace: Include missing asm/bitsperlong.h to get BITS_PER_LONG
The auxtrace.h header references BITS_PER_LONG without including the header where it is defined, getting it by luck from some other header, fix it.
Cc Adrian Hunter <[email protected]>
Cc Alexander Sverdlin <[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/util/auxtrace.h | 1 + 1 file changed, 1 insertion(+)
tools/perf/util/auxtrace.h +1 -0
@@ -23,6 +23,7 @@#include <linux/list.h> #include <linux/perf_event.h> #include <linux/types.h> +#include <asm/bitsperlong.h> #include "../perf.h" #include "event.h"