rcu: Use per_cpu_ptr to get the pointer of per_cpu variable
authorLiu Song <liu.song11@zte.com.cn>
Wed, 30 Jun 2021 14:08:02 +0000 (22:08 +0800)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 6 Aug 2021 20:41:49 +0000 (13:41 -0700)
commit8211e922de2854130e3633f52cd4fc2d7817ceb0
treee34fc57341e00fb50ad46d074b3620e3c82ec0a1
parenteb880949ef41c98a203c4a033e06e05854d902ef
rcu: Use per_cpu_ptr to get the pointer of per_cpu variable

There are a few remaining locations in kernel/rcu that still use
"&per_cpu()".  This commit replaces them with "per_cpu_ptr(&)", and does
not introduce any functional change.

Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Reviewed-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Liu Song <liu.song11@zte.com.cn>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tasks.h
kernel/rcu/tree.c
kernel/rcu/tree_stall.h