25 #ifndef __LINUX_TINY_H
26 #define __LINUX_TINY_H
30 static inline void rcu_init(
void)
34 static inline void rcu_barrier_bh(
void)
39 static inline void rcu_barrier_sched(
void)
44 #ifdef CONFIG_TINY_RCU
51 static inline void rcu_barrier(
void)
60 static inline void rcu_barrier(
void)
67 static inline void synchronize_rcu_bh(
void)
72 static inline void synchronize_rcu_bh_expedited(
void)
77 static inline void synchronize_sched_expedited(
void)
88 #ifdef CONFIG_TINY_RCU
94 static inline int rcu_needs_cpu(
int cpu,
unsigned long *delta_jiffies)
105 static inline int rcu_needs_cpu(
int cpu,
unsigned long *delta_jiffies)
113 static inline void rcu_note_context_switch(
int cpu)
123 static inline void rcu_virt_note_context_switch(
int cpu)
130 static inline long rcu_batches_completed(
void)
138 static inline long rcu_batches_completed_bh(
void)
143 static inline void rcu_force_quiescent_state(
void)
147 static inline void rcu_bh_force_quiescent_state(
void)
151 static inline void rcu_sched_force_quiescent_state(
void)
155 static inline void rcu_cpu_stall_reset(
void)
159 #ifdef CONFIG_DEBUG_LOCK_ALLOC
161 extern void rcu_scheduler_starting(
void);
163 static inline void rcu_scheduler_starting(
void)