]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/rcupdate.c
[ARM] omap: fix inappropriate casting in gpio.c
[linux-2.6-omap-h63xx.git] / kernel / rcupdate.c
index 4a74b8d48d909415829de74860515de23ac8488f..467d5940f62406c35ab64fb7c4c88b1556154fa0 100644 (file)
@@ -77,6 +77,7 @@ void wakeme_after_rcu(struct rcu_head  *head)
  * sections are delimited by rcu_read_lock() and rcu_read_unlock(),
  * and may be nested.
  */
+void synchronize_rcu(void);    /* Makes kernel-doc tools happy */
 synchronize_rcu_xxx(synchronize_rcu, call_rcu)
 EXPORT_SYMBOL_GPL(synchronize_rcu);
 
@@ -128,7 +129,7 @@ static void _rcu_barrier(enum rcu_barrier type)
         * until all the callbacks are queued.
         */
        rcu_read_lock();
-       on_each_cpu(rcu_barrier_func, (void *)type, 0, 1);
+       on_each_cpu(rcu_barrier_func, (void *)type, 1);
        rcu_read_unlock();
        wait_for_completion(&rcu_barrier_completion);
        mutex_unlock(&rcu_barrier_mutex);