diff options
-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 */ |