Commit 28f0361f authored by Paul E. McKenney's avatar Paul E. McKenney

rcu: Replace synchronize_sched_expedited_wait() "_sched" with "_rcu"

After RCU flavor consolidation, synchronize_sched_expedited_wait() does
both RCU-preempt and RCU-sched, whichever happens to have been built into
the running kernel.  This commit therefore changes this function's name
to synchronize_rcu_expedited_wait() to reflect its new generic nature.
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent de8cd0a5
...@@ -453,7 +453,7 @@ static void sync_rcu_exp_select_cpus(void) ...@@ -453,7 +453,7 @@ static void sync_rcu_exp_select_cpus(void)
* Wait for the expedited grace period to elapse, issuing any needed * Wait for the expedited grace period to elapse, issuing any needed
* RCU CPU stall warnings along the way. * RCU CPU stall warnings along the way.
*/ */
static void synchronize_sched_expedited_wait(void) static void synchronize_rcu_expedited_wait(void)
{ {
int cpu; int cpu;
unsigned long jiffies_stall; unsigned long jiffies_stall;
...@@ -538,7 +538,7 @@ static void rcu_exp_wait_wake(unsigned long s) ...@@ -538,7 +538,7 @@ static void rcu_exp_wait_wake(unsigned long s)
{ {
struct rcu_node *rnp; struct rcu_node *rnp;
synchronize_sched_expedited_wait(); synchronize_rcu_expedited_wait();
// Switch over to wakeup mode, allowing the next GP to proceed. // Switch over to wakeup mode, allowing the next GP to proceed.
// End the previous grace period only after acquiring the mutex // End the previous grace period only after acquiring the mutex
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment