aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2022-03-21 11:05:50 +0100
committerIngo Molnar <[email protected]>2022-03-21 11:13:49 +0100
commit3387ce4d8a5f2956fab827edf499fe6780e83faa (patch)
treefd11d043469570c50283411e6402df6cb85b46f6
parenta7b2553b5ece1aba4b5994eef150d0a1269b5805 (diff)
headers/prep: Fix header to build standalone: <linux/psi.h>
Add the <linux/cgroup-defs.h> dependency to <linux/psi.h>, because cgroup_move_task() will dereference 'struct css_set'. ( Only older toolchains are affected, due to variations in the implementation of rcu_assign_pointer() et al. ) Cc: Peter Zijlstra <[email protected]> Cc: Linus Torvalds <[email protected]> Reported-by: Sachin Sant <[email protected]> Reported-by: Andrew Morton <[email protected]> Reported-by: Borislav Petkov <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--include/linux/psi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/psi.h b/include/linux/psi.h
index 7f7d1d88c3bb..89784763d19e 100644
--- a/include/linux/psi.h
+++ b/include/linux/psi.h
@@ -6,6 +6,7 @@
#include <linux/psi_types.h>
#include <linux/sched.h>
#include <linux/poll.h>
+#include <linux/cgroup-defs.h>
struct seq_file;
struct css_set;