summaryrefslogtreecommitdiff
path: root/include/linux/sched
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-15 23:51:54 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-27 19:50:20 +0300
commit1e2f2d31997a9496f99e2b43255d6a48b06fbcc2 (patch)
treeb2477645a8943813f1b934405e8238a76814d3b0 /include/linux/sched
parente717ceb529653891f2283e2fd783edbb231e3562 (diff)
downloadlinux-1e2f2d31997a9496f99e2b43255d6a48b06fbcc2.tar.xz
Kill sched.h dependency on rcupdate.h
by moving cond_resched_rcu() to rcupdate_wait.h, we can kill another big sched.h dependency. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/sched')
-rw-r--r--include/linux/sched/task.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h
index 1880ae21a9cb..538cdfbe895f 100644
--- a/include/linux/sched/task.h
+++ b/include/linux/sched/task.h
@@ -7,6 +7,7 @@
* functionality:
*/
+#include <linux/rcupdate.h>
#include <linux/refcount.h>
#include <linux/sched.h>
#include <linux/uaccess.h>