Skip to content

Commit 3387ce4

Browse files
committed
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>
1 parent a7b2553 commit 3387ce4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/linux/psi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <linux/psi_types.h>
77
#include <linux/sched.h>
88
#include <linux/poll.h>
9+
#include <linux/cgroup-defs.h>
910

1011
struct seq_file;
1112
struct css_set;

0 commit comments

Comments
 (0)