]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/rcupreempt.c
[ARM] cache align destination pointer when copying memory for some processors
[linux-2.6-omap-h63xx.git] / kernel / rcupreempt.c
index e9517014b57c100af5926165d2131992f0589401..5e02b7740702fa928d188d7afd9855689d1b7b41 100644 (file)
@@ -217,8 +217,6 @@ long rcu_batches_completed(void)
 }
 EXPORT_SYMBOL_GPL(rcu_batches_completed);
 
-EXPORT_SYMBOL_GPL(rcu_batches_completed_bh);
-
 void __rcu_read_lock(void)
 {
        int idx;
@@ -1007,10 +1005,10 @@ void __synchronize_sched(void)
        if (sched_getaffinity(0, &oldmask) < 0)
                oldmask = cpu_possible_map;
        for_each_online_cpu(cpu) {
-               sched_setaffinity(0, cpumask_of_cpu(cpu));
+               sched_setaffinity(0, &cpumask_of_cpu(cpu));
                schedule();
        }
-       sched_setaffinity(0, oldmask);
+       sched_setaffinity(0, &oldmask);
 }
 EXPORT_SYMBOL_GPL(__synchronize_sched);