rcu: Remove "cpu" argument to rcu_pending()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Oct 2014 15:03:57 +0000 (08:03 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Nov 2014 03:20:18 +0000 (19:20 -0800)
commite3950ecd55383f7bd8a06a9649091ccfbbcf5505
treed14992e63f8dd59567f2b699ac8b32e55e515b6a
parentc3377c2da6e594504c900d5ef72374c109e4ca99
rcu: Remove "cpu" argument to rcu_pending()

Because rcu_pending()'s argument is guaranteed to always be the current
CPU, drop the argument and replace per_cpu_ptr() with this_cpu_ptr().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
kernel/rcu/tree.c