rcu: Define rcu_all_qs() only in !PREEMPT builds
[sfrench/cifs-2.6.git] / include / linux / rcutree.h
index d09a9abe9440fe903bca8b0442939a9439eaea34..7f83179177d17e38c6b87a5b63c2e2e4727ec754 100644 (file)
@@ -66,7 +66,9 @@ void rcu_scheduler_starting(void);
 extern int rcu_scheduler_active __read_mostly;
 void rcu_end_inkernel_boot(void);
 bool rcu_is_watching(void);
+#ifndef CONFIG_PREEMPT
 void rcu_all_qs(void);
+#endif
 
 /* RCUtree hotplug events */
 int rcutree_prepare_cpu(unsigned int cpu);