tools include: Add compiler.h to list.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Nov 2015 15:54:42 +0000 (12:54 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Nov 2015 21:41:33 +0000 (18:41 -0300)
commit5602ea09c19e85557f2b4d30be1d6ba349b7a038
tree5dc68fcd308f62b3081773a941326e78af9418fa
parent421fd0845eaeecce6b3806f7f0c0d67d1f9ad108
tools include: Add compiler.h to list.h

list.h needs WRITE_ONCE() since 7f5f873c6a07 ("rculist: Use WRITE_ONCE()
when deleting from reader-visible list") add it before including the
kernel's list.h file.

This fixes builds of 'make perf-tar-src-pkg' perf tool tarball builds,
i.e. out of tree builds.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-e0rb8f7jwz0jn24ttyick9u6@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/list.h