]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/rcupreempt.c
trace: mmiotrace to the tracer menu in Kconfig
[linux-2.6-omap-h63xx.git] / kernel / rcupreempt.c
index f9dc8f3720f67ae977628f76f250d0ed8b05b4d5..33cfc50781f9968d06e79edcb93049441a2a4231 100644 (file)
@@ -1177,7 +1177,16 @@ EXPORT_SYMBOL_GPL(call_rcu_sched);
  * in -rt this does -not- necessarily result in all currently executing
  * interrupt -handlers- having completed.
  */
-synchronize_rcu_xxx(__synchronize_sched, call_rcu_sched)
+void __synchronize_sched(void)
+{
+       struct rcu_synchronize rcu;
+
+       init_completion(&rcu.completion);
+       /* Will wake me after RCU finished. */
+       call_rcu_sched(&rcu.head, wakeme_after_rcu);
+       /* Wait for it. */
+       wait_for_completion(&rcu.completion);
+}
 EXPORT_SYMBOL_GPL(__synchronize_sched);
 
 /*