Commit 88a90315 authored by Menglong Dong's avatar Menglong Dong Committed by Peter Zijlstra
Browse files

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
1b93c03f ("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: default avatarMenglong Dong <dongml2@chinatelecom.cn>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
parent 35561bab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment