Skip to content
Commit 4aa846f9 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Make rcutree_dying_cpu() use its "cpu" parameter



The CPU-hotplug functions take a "cpu" parameter, but rcutree_dying_cpu()
ignores it in favor of this_cpu_ptr().  This works at the moment, but
it would be better to be consistent.  This might also work better given
some possible future changes.  This commit therefore uses per_cpu_ptr()
to avoid ignoring the rcutree_dying_cpu() function's argument.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 768f5d50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment