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.
Unified · Split
| @@ -1,3 +1,4 @@ | |||
| 1 | #include <linux/compiler.h> | ||
| 1 | #include <linux/kernel.h> | 2 | #include <linux/kernel.h> |
| 2 | #include <linux/types.h> | 3 | #include <linux/types.h> |
| 3 | 4 | ||