| .. | .. |
|---|
| 44 | 44 | rcu_note_context_switch(false); |
|---|
| 45 | 45 | } |
|---|
| 46 | 46 | |
|---|
| 47 | +#ifdef CONFIG_PREEMPT_RT_FULL |
|---|
| 48 | +# define synchronize_rcu_bh synchronize_rcu |
|---|
| 49 | +#else |
|---|
| 47 | 50 | void synchronize_rcu_bh(void); |
|---|
| 51 | +#endif |
|---|
| 48 | 52 | void synchronize_sched_expedited(void); |
|---|
| 49 | 53 | void synchronize_rcu_expedited(void); |
|---|
| 50 | 54 | |
|---|
| .. | .. |
|---|
| 72 | 76 | } |
|---|
| 73 | 77 | |
|---|
| 74 | 78 | void rcu_barrier(void); |
|---|
| 79 | +#ifdef CONFIG_PREEMPT_RT_FULL |
|---|
| 80 | +# define rcu_barrier_bh rcu_barrier |
|---|
| 81 | +#else |
|---|
| 75 | 82 | void rcu_barrier_bh(void); |
|---|
| 83 | +#endif |
|---|
| 76 | 84 | void rcu_barrier_sched(void); |
|---|
| 77 | 85 | bool rcu_eqs_special_set(int cpu); |
|---|
| 78 | 86 | unsigned long get_state_synchronize_rcu(void); |
|---|