diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2015-11-11 12:54:42 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-11-11 18:41:33 -0300 |
commit | 5602ea09c19e85557f2b4d30be1d6ba349b7a038 (patch) | |
tree | 5dc68fcd308f62b3081773a941326e78af9418fa | |
parent | 421fd0845eaeecce6b3806f7f0c0d67d1f9ad108 (diff) |
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r-- | tools/include/linux/list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/linux/list.h b/tools/include/linux/list.h index 76b014c96893..a017f1595676 100644 --- a/tools/include/linux/list.h +++ b/tools/include/linux/list.h @@ -1,3 +1,4 @@ +#include <linux/compiler.h> #include <linux/kernel.h> #include <linux/types.h> |