aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-12-15 20:51:54 +0000
committerKent Overstreet <[email protected]>2023-12-27 16:50:20 +0000
commit1e2f2d31997a9496f99e2b43255d6a48b06fbcc2 (patch)
treeb2477645a8943813f1b934405e8238a76814d3b0 /mm/filemap.c
parentkill unnecessary thread_info.h include (diff)
downloadkernel-1e2f2d31997a9496f99e2b43255d6a48b06fbcc2.tar.gz
kernel-1e2f2d31997a9496f99e2b43255d6a48b06fbcc2.zip
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 <[email protected]>
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index f1c8c278310f..1219ffc04a26 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -45,6 +45,7 @@
#include <linux/migrate.h>
#include <linux/pipe_fs_i.h>
#include <linux/splice.h>
+#include <linux/rcupdate_wait.h>
#include <asm/pgalloc.h>
#include <asm/tlbflush.h>
#include "internal.h"