diff options
| author | Bert Karwatzki <spasswolf@web.de> | 2025-11-11 18:01:43 +0100 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2025-11-11 08:52:42 -1000 |
| commit | 01a743550b46eba1dacbd593ccc094781b882d76 (patch) | |
| tree | d6422dd129b7223feaacb92d507a9cdd599174fe | |
| parent | 9311e6c29b348b005e79228ef6facd38ebcc73f9 (diff) | |
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 <spasswolf@web.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
| -rw-r--r-- | kernel/cgroup/cgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index 48019a661c08..f6cc504dfe1c 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -60,6 +60,7 @@ #include <linux/sched/deadline.h> #include <linux/psi.h> #include <linux/nstree.h> +#include <linux/irq_work.h> #include <net/sock.h> #define CREATE_TRACE_POINTS |
