#define rcu_init_sched() do { } while (0)
extern void rcu_check_callbacks(int cpu, int user);
+static inline int rcu_needs_cpu(int cpu)
+{
+ return 0;
+}
+
/*
* Return the number of grace periods.
*/
extern int rcu_expedited_torture_stats(char *page);
+static inline void rcu_force_quiescent_state(void)
+{
+}
+
+static inline void rcu_bh_force_quiescent_state(void)
+{
+}
+
+static inline void rcu_sched_force_quiescent_state(void)
+{
+}
+
+#define synchronize_rcu synchronize_sched
+
static inline void synchronize_rcu_expedited(void)
{
synchronize_sched();
{
}
+static inline int rcu_preempt_depth(void)
+{
+ return 0;
+}
+
#endif /* __LINUX_RCUTINY_H */