rcu.h (bd8cc5a062f41e334596edbe823e2fa0adddd1b7) | rcu.h (44c65ff2e3b0b48250a970183ab53b0602c25764) |
---|---|
1/* 2 * Read-Copy Update definitions shared among RCU implementations. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * --- 550 unchanged lines hidden (view full) --- 559unsigned long rcu_exp_batches_completed_sched(void); 560unsigned long srcu_batches_completed(struct srcu_struct *sp); 561void show_rcu_gp_kthreads(void); 562void rcu_force_quiescent_state(void); 563void rcu_bh_force_quiescent_state(void); 564void rcu_sched_force_quiescent_state(void); 565#endif /* #else #ifdef CONFIG_TINY_RCU */ 566 | 1/* 2 * Read-Copy Update definitions shared among RCU implementations. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * --- 550 unchanged lines hidden (view full) --- 559unsigned long rcu_exp_batches_completed_sched(void); 560unsigned long srcu_batches_completed(struct srcu_struct *sp); 561void show_rcu_gp_kthreads(void); 562void rcu_force_quiescent_state(void); 563void rcu_bh_force_quiescent_state(void); 564void rcu_sched_force_quiescent_state(void); 565#endif /* #else #ifdef CONFIG_TINY_RCU */ 566 |
567#if defined(CONFIG_RCU_NOCB_CPU_ALL) 568static inline bool rcu_is_nocb_cpu(int cpu) { return true; } 569#elif defined(CONFIG_RCU_NOCB_CPU) | 567#ifdef CONFIG_RCU_NOCB_CPU |
570bool rcu_is_nocb_cpu(int cpu); 571#else 572static inline bool rcu_is_nocb_cpu(int cpu) { return false; } 573#endif 574 575#endif /* __LINUX_RCU_H */ | 568bool rcu_is_nocb_cpu(int cpu); 569#else 570static inline bool rcu_is_nocb_cpu(int cpu) { return false; } 571#endif 572 573#endif /* __LINUX_RCU_H */ |