| .. | .. |
|---|
| 528 | 528 | static inline int rcu_get_gp_kthreads_prio(void) { return 0; } |
|---|
| 529 | 529 | #else /* #ifdef CONFIG_TINY_RCU */ |
|---|
| 530 | 530 | unsigned long rcu_get_gp_seq(void); |
|---|
| 531 | | -unsigned long rcu_bh_get_gp_seq(void); |
|---|
| 532 | 531 | unsigned long rcu_sched_get_gp_seq(void); |
|---|
| 533 | 532 | unsigned long rcu_exp_batches_completed(void); |
|---|
| 534 | 533 | unsigned long rcu_exp_batches_completed_sched(void); |
|---|
| .. | .. |
|---|
| 536 | 535 | void show_rcu_gp_kthreads(void); |
|---|
| 537 | 536 | int rcu_get_gp_kthreads_prio(void); |
|---|
| 538 | 537 | void rcu_force_quiescent_state(void); |
|---|
| 539 | | -void rcu_bh_force_quiescent_state(void); |
|---|
| 540 | 538 | void rcu_sched_force_quiescent_state(void); |
|---|
| 541 | 539 | extern struct workqueue_struct *rcu_gp_wq; |
|---|
| 542 | 540 | extern struct workqueue_struct *rcu_par_gp_wq; |
|---|
| 541 | + |
|---|
| 542 | +#ifdef CONFIG_PREEMPT_RT_FULL |
|---|
| 543 | +#define rcu_bh_get_gp_seq rcu_get_gp_seq |
|---|
| 544 | +#define rcu_bh_force_quiescent_state rcu_force_quiescent_state |
|---|
| 545 | +#else |
|---|
| 546 | +unsigned long rcu_bh_get_gp_seq(void); |
|---|
| 547 | +void rcu_bh_force_quiescent_state(void); |
|---|
| 548 | +#endif |
|---|
| 549 | + |
|---|
| 543 | 550 | #endif /* #else #ifdef CONFIG_TINY_RCU */ |
|---|
| 544 | 551 | |
|---|
| 545 | 552 | #ifdef CONFIG_RCU_NOCB_CPU |
|---|