diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/rcutiny.h | 12 | ||||
| -rw-r--r-- | include/linux/rcutree.h | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h index 96cc307ed9f4..2b70d4e37383 100644 --- a/include/linux/rcutiny.h +++ b/include/linux/rcutiny.h | |||
| @@ -62,6 +62,18 @@ static inline long rcu_batches_completed_bh(void) | |||
| 62 | 62 | ||
| 63 | extern int rcu_expedited_torture_stats(char *page); | 63 | extern int rcu_expedited_torture_stats(char *page); |
| 64 | 64 | ||
| 65 | static inline void rcu_force_quiescent_state(void) | ||
| 66 | { | ||
| 67 | } | ||
| 68 | |||
| 69 | static inline void rcu_bh_force_quiescent_state(void) | ||
| 70 | { | ||
| 71 | } | ||
| 72 | |||
| 73 | static inline void rcu_sched_force_quiescent_state(void) | ||
| 74 | { | ||
| 75 | } | ||
| 76 | |||
| 65 | #define synchronize_rcu synchronize_sched | 77 | #define synchronize_rcu synchronize_sched |
| 66 | 78 | ||
| 67 | static inline void synchronize_rcu_expedited(void) | 79 | static inline void synchronize_rcu_expedited(void) |
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h index 8044b1b94333..704a010f686c 100644 --- a/include/linux/rcutree.h +++ b/include/linux/rcutree.h | |||
| @@ -99,6 +99,9 @@ extern void rcu_check_callbacks(int cpu, int user); | |||
| 99 | extern long rcu_batches_completed(void); | 99 | extern long rcu_batches_completed(void); |
| 100 | extern long rcu_batches_completed_bh(void); | 100 | extern long rcu_batches_completed_bh(void); |
| 101 | extern long rcu_batches_completed_sched(void); | 101 | extern long rcu_batches_completed_sched(void); |
| 102 | extern void rcu_force_quiescent_state(void); | ||
| 103 | extern void rcu_bh_force_quiescent_state(void); | ||
| 104 | extern void rcu_sched_force_quiescent_state(void); | ||
| 102 | 105 | ||
| 103 | #ifdef CONFIG_NO_HZ | 106 | #ifdef CONFIG_NO_HZ |
| 104 | void rcu_enter_nohz(void); | 107 | void rcu_enter_nohz(void); |
