All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip: sched/core] headers/prep: Fix header to build standalone: <linux/psi.h>
@ 2022-03-21 10:20 tip-bot2 for Ingo Molnar
  0 siblings, 0 replies; only message in thread
From: tip-bot2 for Ingo Molnar @ 2022-03-21 10:20 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Peter Zijlstra, Linus Torvalds, Sachin Sant, Andrew Morton,
	Borislav Petkov, Ingo Molnar, x86, linux-kernel

The following commit has been merged into the sched/core branch of tip:

Commit-ID:     3387ce4d8a5f2956fab827edf499fe6780e83faa
Gitweb:        https://git.kernel.org/tip/3387ce4d8a5f2956fab827edf499fe6780e83faa
Author:        Ingo Molnar <mingo@kernel.org>
AuthorDate:    Mon, 21 Mar 2022 11:05:50 +01:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Mon, 21 Mar 2022 11:13:49 +01:00

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>
---
 include/linux/psi.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/psi.h b/include/linux/psi.h
index 7f7d1d8..8978476 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;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-21 10:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-21 10:20 [tip: sched/core] headers/prep: Fix header to build standalone: <linux/psi.h> tip-bot2 for Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.