]> Gentwo Git Trees - linux/.git/commit
rcu: Replace preempt.h with sched.h in include/linux/rcupdate.h
authorMenglong Dong <menglong8.dong@gmail.com>
Wed, 17 Sep 2025 06:09:14 +0000 (14:09 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 25 Sep 2025 07:57:15 +0000 (09:57 +0200)
commit88a90315a99a9120cd471bf681515cc77cd7cdb8
treec79fbf6df9ef20015dca4aefb3986d7c7c29c8ad
parent35561bab768977c9e05f1f1a9bc00134c85f3e28
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 <dongml2@chinatelecom.cn>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
include/linux/rcupdate.h