rcu: Break up rcu_gp_kthread() into subfunctions
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 22 Jun 2012 18:08:41 +0000 (11:08 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Sep 2012 14:41:53 +0000 (07:41 -0700)
commit7fdefc10e1d730d4608cc59d386bc446f5b9ee99
tree8365a35be3c92af654667a6ff8e73969abb1e000
parentc856bafae7f5b3f59ac1d99279a9b99b3b36ad12
rcu: Break up rcu_gp_kthread() into subfunctions

Then rcu_gp_kthread() function is too large and furthermore needs to
have the force_quiescent_state() code pulled in.  This commit therefore
breaks up rcu_gp_kthread() into rcu_gp_init() and rcu_gp_cleanup().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutree.c