Skip to content

Commit 3387ce4

Browse files
author
Ingo Molnar
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 <[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]>
1 parent a7b2553 commit 3387ce4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)