Skip to content

Commit 48444c5

Browse files
image-dragonKernel Patches Daemon
authored andcommitted
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 1b93c03 ("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 <[email protected]>
1 parent 7c3d639 commit 48444c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/rcupdate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <linux/compiler.h>
2525
#include <linux/atomic.h>
2626
#include <linux/irqflags.h>
27-
#include <linux/preempt.h>
27+
#include <linux/sched.h>
2828
#include <linux/bottom_half.h>
2929
#include <linux/lockdep.h>
3030
#include <linux/cleanup.h>

0 commit comments

Comments
 (0)