diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2010-03-28 11:15:20 +0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-10 11:08:31 -0700 |
commit | f261414f0d56dd1a0e34888e27d1d4902ad052f3 (patch) | |
tree | 6779e82e0a520121a8d1b86fbfb248bef3ab201a /kernel/rcutree.c | |
parent | d25eb9442bb2c38c1e742f0fa764d7132d72593f (diff) | |
download | linux-stable-f261414f0d56dd1a0e34888e27d1d4902ad052f3.tar.gz linux-stable-f261414f0d56dd1a0e34888e27d1d4902ad052f3.tar.bz2 linux-stable-f261414f0d56dd1a0e34888e27d1d4902ad052f3.zip |
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) break; /* grace period idle or initializing, ignore. */ case RCU_SAVE_DYNTICK: - - raw_spin_unlock(&rnp->lock); /* irqs remain disabled */ if (RCU_SIGNAL_INIT != RCU_SAVE_DYNTICK) break; /* So gcc recognizes the dead code. */ + raw_spin_unlock(&rnp->lock); /* irqs remain disabled */ + /* Record dyntick-idle state. */ force_qs_rnp(rsp, dyntick_save_progress_counter); raw_spin_lock(&rnp->lock); /* irqs already disabled */ |