[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <175878730526.709179.17743524184120052104.tip-bot2@tip-bot2>
Date: Thu, 25 Sep 2025 08:01:45 -0000
From: "tip-bot2 for Menglong Dong" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Menglong Dong <dongml2@...natelecom.cn>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: sched/core] rcu: Replace preempt.h with sched.h in
include/linux/rcupdate.h
The following commit has been merged into the sched/core branch of tip:
Commit-ID: 88a90315a99a9120cd471bf681515cc77cd7cdb8
Gitweb: https://git.kernel.org/tip/88a90315a99a9120cd471bf681515cc77cd7cdb8
Author: Menglong Dong <menglong8.dong@...il.com>
AuthorDate: Wed, 17 Sep 2025 14:09:14 +08:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Thu, 25 Sep 2025 09:57:15 +02:00
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@...natelecom.cn>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
---
include/linux/rcupdate.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index 120536f..8f346c8 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -24,7 +24,7 @@
#include <linux/compiler.h>
#include <linux/atomic.h>
#include <linux/irqflags.h>
-#include <linux/preempt.h>
+#include <linux/sched.h>
#include <linux/bottom_half.h>
#include <linux/lockdep.h>
#include <linux/cleanup.h>
Powered by blists - more mailing lists