@@ -528,6 +528,12 @@ struct task_struct *get_rcu_tasks_gp_kthread(void);
528528struct task_struct * get_rcu_tasks_rude_gp_kthread (void );
529529#endif // # ifdef CONFIG_TASKS_RUDE_RCU
530530
531+ #ifdef CONFIG_TASKS_RCU_GENERIC
532+ void tasks_cblist_init_generic (void );
533+ #else /* #ifdef CONFIG_TASKS_RCU_GENERIC */
534+ static inline void tasks_cblist_init_generic (void ) { }
535+ #endif /* #else #ifdef CONFIG_TASKS_RCU_GENERIC */
536+
531537#define RCU_SCHEDULER_INACTIVE 0
532538#define RCU_SCHEDULER_INIT 1
533539#define RCU_SCHEDULER_RUNNING 2
@@ -543,11 +549,11 @@ enum rcutorture_type {
543549};
544550
545551#if defined(CONFIG_RCU_LAZY )
546- unsigned long rcu_lazy_get_jiffies_till_flush (void );
547- void rcu_lazy_set_jiffies_till_flush (unsigned long j );
552+ unsigned long rcu_get_jiffies_lazy_flush (void );
553+ void rcu_set_jiffies_lazy_flush (unsigned long j );
548554#else
549- static inline unsigned long rcu_lazy_get_jiffies_till_flush (void ) { return 0 ; }
550- static inline void rcu_lazy_set_jiffies_till_flush (unsigned long j ) { }
555+ static inline unsigned long rcu_get_jiffies_lazy_flush (void ) { return 0 ; }
556+ static inline void rcu_set_jiffies_lazy_flush (unsigned long j ) { }
551557#endif
552558
553559#if defined(CONFIG_TREE_RCU )
@@ -623,12 +629,7 @@ int rcu_get_gp_kthreads_prio(void);
623629void rcu_fwd_progress_check (unsigned long j );
624630void rcu_force_quiescent_state (void );
625631extern struct workqueue_struct * rcu_gp_wq ;
626- #ifdef CONFIG_RCU_EXP_KTHREAD
627632extern struct kthread_worker * rcu_exp_gp_kworker ;
628- extern struct kthread_worker * rcu_exp_par_gp_kworker ;
629- #else /* !CONFIG_RCU_EXP_KTHREAD */
630- extern struct workqueue_struct * rcu_par_gp_wq ;
631- #endif /* CONFIG_RCU_EXP_KTHREAD */
632633void rcu_gp_slow_register (atomic_t * rgssp );
633634void rcu_gp_slow_unregister (atomic_t * rgssp );
634635#endif /* #else #ifdef CONFIG_TINY_RCU */
0 commit comments