rcu: Merge rcu_sched_force_quiescent_state() with rcu_force_quiescent_state()
authorAndreea-Cristina Bernat <bernat.ada@gmail.com>
Wed, 19 Mar 2014 09:18:31 +0000 (11:18 +0200)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 29 Apr 2014 15:45:07 +0000 (08:45 -0700)
commita381d757d93f6e43063f74888676edd6216d0aff
tree7021dfdab1e9c16567f25028adb0c6059b8a8470
parent495aa969dbaef2e3d28094a2b3c752d069932748
rcu: Merge rcu_sched_force_quiescent_state() with rcu_force_quiescent_state()

This patch merges the function rcu_force_quiescent_state() with
rcu_sched_force_quiescent_state(), using the rcu_state pointer.  Firstly,
the rcu_sched_force_quiescent_state() function is deleted from the file
kernel/rcu/tree.c. Also, the rcu_force_quiescent_state() function that was
calling force_quiescent_state with the argument rcu_preempt_state pointer
was deleted as well.  The new function that combines the old ones uses
the rcu_state pointer and is located after rcu_batches_completed_bh()
in kernel/rcu/tree.c.

Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcu/tree.c
kernel/rcu/tree_plugin.h
This page took 0.024166 seconds and 5 git commands to generate.