From 01a743550b46eba1dacbd593ccc094781b882d76 Mon Sep 17 00:00:00 2001 From: Bert Karwatzki Date: Tue, 11 Nov 2025 18:01:43 +0100 Subject: [PATCH] cgroup: include missing header for struct irq_work To compile cgroup.c with PREEMPT_RT=y include header which declares struct irq_work. Fixes: 9311e6c29b34 ("cgroup: Fix sleeping from invalid context warning on PREEMPT_RT") Signed-off-by: Bert Karwatzki Signed-off-by: Tejun Heo --- kernel/cgroup/cgroup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 48019a661c080..f6cc504dfe1c9 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -60,6 +60,7 @@ #include #include #include +#include #include #define CREATE_TRACE_POINTS -- 2.47.3