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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h
index cd6047cc7fc2..09b7325baad1 100644
--- a/kernel/rcutree_plugin.h
+++ b/kernel/rcutree_plugin.h
@@ -476,10 +476,12 @@ static void rcu_print_task_stall(struct rcu_node *rnp)
476 476
477/* 477/*
478 * Because there is no preemptable RCU, there can be no readers blocked, 478 * Because there is no preemptable RCU, there can be no readers blocked,
479 * so there is no need to check for blocked tasks. 479 * so there is no need to check for blocked tasks. So check only for
480 * bogus qsmask values.
480 */ 481 */
481static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp) 482static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp)
482{ 483{
484 WARN_ON_ONCE(rnp->qsmask);
483} 485}
484 486
485/* 487/*