From: Menglong Dong Date: Wed, 17 Sep 2025 06:09:14 +0000 (+0800) Subject: rcu: Replace preempt.h with sched.h in include/linux/rcupdate.h X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=88a90315a99a9120cd471bf681515cc77cd7cdb8;p=users%2Fhch%2Fmisc.git rcu: Replace preempt.h with sched.h in include/linux/rcupdate.h In the next commit, we will move the definition of migrate_enable() and migrate_disable() to linux/sched.h. However, migrate_enable/migrate_disable will be used in commit 1b93c03fb319 ("rcu: add rcu_read_lock_dont_migrate()") in bpf-next tree. In order to fix potential compiling error, replace linux/preempt.h with linux/sched.h in include/linux/rcupdate.h. Signed-off-by: Menglong Dong Signed-off-by: Peter Zijlstra (Intel) --- diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 120536f4c6eb..8f346c847ee5 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include