diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-01-18 20:46:24 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-03-11 16:22:37 -0400 |
commit | 78043c467a91573cc1d51827fe10d7d15ae79a60 (patch) | |
tree | 9e9ba573c6a7655d1a35bf5cfb964e233455a9c4 /kernel | |
parent | b33078b6098148c3efdacc907249a247c9d5491e (diff) |
rcu: Put all orphan-callback-related code under same comment
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcu/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 8e020c59ecfd..98da632d1d49 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
@@ -2385,9 +2385,9 @@ static void rcu_cleanup_dead_cpu(int cpu, struct rcu_state *rsp) | |||
2385 | 2385 | ||
2386 | /* Exclude any attempts to start a new grace period. */ | 2386 | /* Exclude any attempts to start a new grace period. */ |
2387 | mutex_lock(&rsp->onoff_mutex); | 2387 | mutex_lock(&rsp->onoff_mutex); |
2388 | raw_spin_lock_irqsave(&rsp->orphan_lock, flags); | ||
2389 | 2388 | ||
2390 | /* Orphan the dead CPU's callbacks, and adopt them if appropriate. */ | 2389 | /* Orphan the dead CPU's callbacks, and adopt them if appropriate. */ |
2390 | raw_spin_lock_irqsave(&rsp->orphan_lock, flags); | ||
2391 | rcu_send_cbs_to_orphanage(cpu, rsp, rnp, rdp); | 2391 | rcu_send_cbs_to_orphanage(cpu, rsp, rnp, rdp); |
2392 | rcu_adopt_orphan_cbs(rsp, flags); | 2392 | rcu_adopt_orphan_cbs(rsp, flags); |
2393 | raw_spin_unlock_irqrestore(&rsp->orphan_lock, flags); | 2393 | raw_spin_unlock_irqrestore(&rsp->orphan_lock, flags); |