History

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.

Arnaldo Carvalho de Melo committed 11 years ago

Commit 5602ea01 parent 421fd081 file · +1 −0Browse files

Unified · Split

tools/include/linux/list.h+1−0
@@ -1,3 +1,4 @@
1+#include <linux/compiler.h>
12 #include <linux/kernel.h>
23 #include <linux/types.h>
34