Skip to content

Commit 5602ea0

Browse files
committed
tools include: Add compiler.h to list.h
list.h needs WRITE_ONCE() since 7f5f873 ("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]>
1 parent 421fd08 commit 5602ea0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/include/linux/list.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <linux/compiler.h>
12
#include <linux/kernel.h>
23
#include <linux/types.h>
34

0 commit comments

Comments
 (0)