aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/rcu.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcu/rcu.h')
-rw-r--r--kernel/rcu/rcu.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/rcu/rcu.h b/kernel/rcu/rcu.h
index d06c42deee0b..808b8c85f626 100644
--- a/kernel/rcu/rcu.h
+++ b/kernel/rcu/rcu.h
@@ -564,9 +564,7 @@ void rcu_bh_force_quiescent_state(void);
564void rcu_sched_force_quiescent_state(void); 564void rcu_sched_force_quiescent_state(void);
565#endif /* #else #ifdef CONFIG_TINY_RCU */ 565#endif /* #else #ifdef CONFIG_TINY_RCU */
566 566
567#if defined(CONFIG_RCU_NOCB_CPU_ALL) 567#ifdef CONFIG_RCU_NOCB_CPU
568static inline bool rcu_is_nocb_cpu(int cpu) { return true; }
569#elif defined(CONFIG_RCU_NOCB_CPU)
570bool rcu_is_nocb_cpu(int cpu); 568bool rcu_is_nocb_cpu(int cpu);
571#else 569#else
572static inline bool rcu_is_nocb_cpu(int cpu) { return false; } 570static inline bool rcu_is_nocb_cpu(int cpu) { return false; }