diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2010-03-27 23:15:20 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-10 14:08:31 -0400 |
commit | f261414f0d56dd1a0e34888e27d1d4902ad052f3 (patch) | |
tree | 6779e82e0a520121a8d1b86fbfb248bef3ab201a /kernel/rcutree.c | |
parent | d25eb9442bb2c38c1e742f0fa764d7132d72593f (diff) |
rcu: make dead code really dead
cleanup: make dead code really dead
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index e54c12351227..6042fb859535 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -1236,11 +1236,11 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed) | |||
1236 | break; /* grace period idle or initializing, ignore. */ | 1236 | break; /* grace period idle or initializing, ignore. */ |
1237 | 1237 | ||
1238 | case RCU_SAVE_DYNTICK: | 1238 | case RCU_SAVE_DYNTICK: |
1239 | |||
1240 | raw_spin_unlock(&rnp->lock); /* irqs remain disabled */ | ||
1241 | if (RCU_SIGNAL_INIT != RCU_SAVE_DYNTICK) | 1239 | if (RCU_SIGNAL_INIT != RCU_SAVE_DYNTICK) |
1242 | break; /* So gcc recognizes the dead code. */ | 1240 | break; /* So gcc recognizes the dead code. */ |
1243 | 1241 | ||
1242 | raw_spin_unlock(&rnp->lock); /* irqs remain disabled */ | ||
1243 | |||
1244 | /* Record dyntick-idle state. */ | 1244 | /* Record dyntick-idle state. */ |
1245 | force_qs_rnp(rsp, dyntick_save_progress_counter); | 1245 | force_qs_rnp(rsp, dyntick_save_progress_counter); |
1246 | raw_spin_lock(&rnp->lock); /* irqs already disabled */ | 1246 | raw_spin_lock(&rnp->lock); /* irqs already disabled */ |