]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rcu: Move rcu_needs_cpu() to tree.c
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 27 Sep 2021 21:30:20 +0000 (14:30 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 1 Dec 2021 01:24:47 +0000 (17:24 -0800)
commitbc849e9192c75833a85f2e9376a265ab31f8eec7
tree829df056f90a6248407f39bca92f7503bfe33b1f
parente2c73a6860bdf54f2c6bf8cddc34ddc91a1343e1
rcu: Move rcu_needs_cpu() to tree.c

Now that RCU_FAST_NO_HZ is no more, there is but one implementation of
the rcu_needs_cpu() function.  This commit therefore moves this function
from kernel/rcu/tree_plugin.c to kernel/rcu/tree.c.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c
kernel/rcu/tree_plugin.h