rcu: Move lock_class_key to local scope
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 26 Sep 2015 21:51:24 +0000 (14:51 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 4 Dec 2015 20:27:29 +0000 (12:27 -0800)
commit3dc5dbe9a1b815b659a6b04540fc6fd4b4e3831b
tree98e44ba9764ed3c2023d3deb450181de4a2dcffb
parent6cf10081220ae21175a867d446b3167bcbcb937b
rcu: Move lock_class_key to local scope

Currently, the rcu_node_class[], rcu_fqs_class[], and rcu_exp_class[]
arrays needlessly pollute the global namespace within tree.c.  This
commit therefore converts them to static local variables within
rcu_init_one().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c