diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-15 21:51:54 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-27 17:50:20 +0100 |
commit | 1e2f2d31997a9496f99e2b43255d6a48b06fbcc2 (patch) | |
tree | b2477645a8943813f1b934405e8238a76814d3b0 /lib/test_rhashtable.c | |
parent | kill unnecessary thread_info.h include (diff) | |
download | linux-1e2f2d31997a9496f99e2b43255d6a48b06fbcc2.tar.xz linux-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 <kent.overstreet@linux.dev>
Diffstat (limited to 'lib/test_rhashtable.c')
-rw-r--r-- | lib/test_rhashtable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c index c20f6cb4bf55..42b585208249 100644 --- a/lib/test_rhashtable.c +++ b/lib/test_rhashtable.c @@ -16,6 +16,7 @@ #include <linux/kthread.h> #include <linux/module.h> #include <linux/rcupdate.h> +#include <linux/rcupdate_wait.h> #include <linux/rhashtable.h> #include <linux/slab.h> #include <linux/sched.h> |