rcu: Eliminate redundant rcu_sysidle_state variable
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 21 Jul 2014 18:26:54 +0000 (11:26 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 16 Sep 2014 17:08:02 +0000 (10:08 -0700)
commit417e8d26557c4264a484d78a7491316751afa46f
tree87f3b5b1da73ec208f2e55341a4d68102a3c88f7
parent22c2f669611590b428647ac9a73bc63ef3989d4b
rcu: Eliminate redundant rcu_sysidle_state variable

Now that we have rcu_state_p, which references rcu_preempt_state for
TREE_PREEMPT_RCU and rcu_sched_state for TREE_RCU, we don't need a
separate rcu_sysidle_state variable.  This commit therefore eliminates
rcu_preempt_state in favor of rcu_state_p.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Tested-by: Paul Gortmaker <paul.gortmaker@windriver.com>
kernel/rcu/tree_plugin.h