diff options
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
-rw-r--r-- | kernel/rcu/tree_plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index 6e2ef4b2b920..39a50b918bff 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h | |||
@@ -2101,6 +2101,7 @@ static void rcu_init_one_nocb(struct rcu_node *rnp) | |||
2101 | init_waitqueue_head(&rnp->nocb_gp_wq[1]); | 2101 | init_waitqueue_head(&rnp->nocb_gp_wq[1]); |
2102 | } | 2102 | } |
2103 | 2103 | ||
2104 | #ifndef CONFIG_RCU_NOCB_CPU_ALL | ||
2104 | /* Is the specified CPU a no-CPUs CPU? */ | 2105 | /* Is the specified CPU a no-CPUs CPU? */ |
2105 | bool rcu_is_nocb_cpu(int cpu) | 2106 | bool rcu_is_nocb_cpu(int cpu) |
2106 | { | 2107 | { |
@@ -2108,6 +2109,7 @@ bool rcu_is_nocb_cpu(int cpu) | |||
2108 | return cpumask_test_cpu(cpu, rcu_nocb_mask); | 2109 | return cpumask_test_cpu(cpu, rcu_nocb_mask); |
2109 | return false; | 2110 | return false; |
2110 | } | 2111 | } |
2112 | #endif /* #ifndef CONFIG_RCU_NOCB_CPU_ALL */ | ||
2111 | 2113 | ||
2112 | /* | 2114 | /* |
2113 | * Enqueue the specified string of rcu_head structures onto the specified | 2115 | * Enqueue the specified string of rcu_head structures onto the specified |