aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcutree_plugin.h')
-rw-r--r--kernel/rcutree_plugin.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h
index a8b2e834fd3a..aecfe37e0117 100644
--- a/kernel/rcutree_plugin.h
+++ b/kernel/rcutree_plugin.h
@@ -318,18 +318,15 @@ EXPORT_SYMBOL_GPL(__rcu_read_unlock);
318 */ 318 */
319static void rcu_print_task_stall(struct rcu_node *rnp) 319static void rcu_print_task_stall(struct rcu_node *rnp)
320{ 320{
321 unsigned long flags;
322 struct list_head *lp; 321 struct list_head *lp;
323 int phase; 322 int phase;
324 struct task_struct *t; 323 struct task_struct *t;
325 324
326 if (rcu_preempted_readers(rnp)) { 325 if (rcu_preempted_readers(rnp)) {
327 raw_spin_lock_irqsave(&rnp->lock, flags);
328 phase = rnp->gpnum & 0x1; 326 phase = rnp->gpnum & 0x1;
329 lp = &rnp->blocked_tasks[phase]; 327 lp = &rnp->blocked_tasks[phase];
330 list_for_each_entry(t, lp, rcu_node_entry) 328 list_for_each_entry(t, lp, rcu_node_entry)
331 printk(" P%d", t->pid); 329 printk(" P%d", t->pid);
332 raw_spin_unlock_irqrestore(&rnp->lock, flags);
333 } 330 }
334} 331}
335 332