aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rcutiny.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/rcutiny.h')
-rw-r--r--include/linux/rcutiny.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h
index 13877cb93a60..ea025a611fcc 100644
--- a/include/linux/rcutiny.h
+++ b/include/linux/rcutiny.h
@@ -27,7 +27,9 @@
27 27
28#include <linux/cache.h> 28#include <linux/cache.h>
29 29
30#define rcu_init_sched() do { } while (0) 30static inline void rcu_init(void)
31{
32}
31 33
32#ifdef CONFIG_TINY_RCU 34#ifdef CONFIG_TINY_RCU
33 35
@@ -125,16 +127,12 @@ static inline void rcu_cpu_stall_reset(void)
125} 127}
126 128
127#ifdef CONFIG_DEBUG_LOCK_ALLOC 129#ifdef CONFIG_DEBUG_LOCK_ALLOC
128
129extern int rcu_scheduler_active __read_mostly; 130extern int rcu_scheduler_active __read_mostly;
130extern void rcu_scheduler_starting(void); 131extern void rcu_scheduler_starting(void);
131
132#else /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ 132#else /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */
133
134static inline void rcu_scheduler_starting(void) 133static inline void rcu_scheduler_starting(void)
135{ 134{
136} 135}
137
138#endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */ 136#endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */
139 137
140#endif /* __LINUX_RCUTINY_H */ 138#endif /* __LINUX_RCUTINY_H */