diff options
Diffstat (limited to 'kernel/rcu/rcu.h')
-rw-r--r-- | kernel/rcu/rcu.h | 4 |
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); | |||
564 | void rcu_sched_force_quiescent_state(void); | 564 | void 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 |
568 | static inline bool rcu_is_nocb_cpu(int cpu) { return true; } | ||
569 | #elif defined(CONFIG_RCU_NOCB_CPU) | ||
570 | bool rcu_is_nocb_cpu(int cpu); | 568 | bool rcu_is_nocb_cpu(int cpu); |
571 | #else | 569 | #else |
572 | static inline bool rcu_is_nocb_cpu(int cpu) { return false; } | 570 | static inline bool rcu_is_nocb_cpu(int cpu) { return false; } |