diff options
Diffstat (limited to 'include/linux/rcutree.h')
-rw-r--r-- | include/linux/rcutree.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h index 88109c87f29c..19a3b06943e0 100644 --- a/include/linux/rcutree.h +++ b/include/linux/rcutree.h | |||
@@ -90,10 +90,6 @@ extern long rcu_batches_completed(void); | |||
90 | extern long rcu_batches_completed_bh(void); | 90 | extern long rcu_batches_completed_bh(void); |
91 | extern long rcu_batches_completed_sched(void); | 91 | extern long rcu_batches_completed_sched(void); |
92 | 92 | ||
93 | static inline void rcu_init_sched(void) | ||
94 | { | ||
95 | } | ||
96 | |||
97 | #ifdef CONFIG_NO_HZ | 93 | #ifdef CONFIG_NO_HZ |
98 | void rcu_enter_nohz(void); | 94 | void rcu_enter_nohz(void); |
99 | void rcu_exit_nohz(void); | 95 | void rcu_exit_nohz(void); |
@@ -106,7 +102,7 @@ static inline void rcu_exit_nohz(void) | |||
106 | } | 102 | } |
107 | #endif /* CONFIG_NO_HZ */ | 103 | #endif /* CONFIG_NO_HZ */ |
108 | 104 | ||
109 | /* A context switch is a grace period for rcutree. */ | 105 | /* A context switch is a grace period for RCU-sched and RCU-bh. */ |
110 | static inline int rcu_blocking_is_gp(void) | 106 | static inline int rcu_blocking_is_gp(void) |
111 | { | 107 | { |
112 | return num_online_cpus() == 1; | 108 | return num_online_cpus() == 1; |