diff options
author | Ingo Molnar <mingo@kernel.org> | 2022-03-21 13:05:50 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-03-21 13:13:49 +0300 |
commit | 3387ce4d8a5f2956fab827edf499fe6780e83faa (patch) | |
tree | fd11d043469570c50283411e6402df6cb85b46f6 /include/linux/psi.h | |
parent | a7b2553b5ece1aba4b5994eef150d0a1269b5805 (diff) | |
download | linux-3387ce4d8a5f2956fab827edf499fe6780e83faa.tar.xz |
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 <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Reported-by: Sachin Sant <sachinp@linux.ibm.com>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Reported-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/psi.h')
-rw-r--r-- | include/linux/psi.h | 1 |
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; |