Skip to content

Commit 01a7435

Browse files
spasswolfhtejun
authored andcommitted
cgroup: include missing header for struct irq_work
To compile cgroup.c with PREEMPT_RT=y include header which declares struct irq_work. Fixes: 9311e6c ("cgroup: Fix sleeping from invalid context warning on PREEMPT_RT") Signed-off-by: Bert Karwatzki <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 9311e6c commit 01a7435

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/cgroup/cgroup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
#include <linux/sched/deadline.h>
6161
#include <linux/psi.h>
6262
#include <linux/nstree.h>
63+
#include <linux/irq_work.h>
6364
#include <net/sock.h>
6465

6566
#define CREATE_TRACE_POINTS

0 commit comments

Comments
 (0)