]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - kernel/rcutree.c
rcu: Stop spurious warnings from synchronize_sched_expedited
[mirror_ubuntu-zesty-kernel.git] / kernel / rcutree.c
index 92b47760edf3851e7594100e57c21e217823a491..1050d6d3922c182f09bfe602ee07e3a185f4be80 100644 (file)
@@ -402,6 +402,7 @@ void rcu_idle_enter(void)
        rcu_idle_enter_common(rdtp, oldval);
        local_irq_restore(flags);
 }
+EXPORT_SYMBOL_GPL(rcu_idle_enter);
 
 /**
  * rcu_irq_exit - inform RCU that current CPU is exiting irq towards idle
@@ -493,6 +494,7 @@ void rcu_idle_exit(void)
        rcu_idle_exit_common(rdtp, oldval);
        local_irq_restore(flags);
 }
+EXPORT_SYMBOL_GPL(rcu_idle_exit);
 
 /**
  * rcu_irq_enter - inform RCU that current CPU is entering irq away from idle
@@ -2012,7 +2014,7 @@ void synchronize_sched_expedited(void)
        /* Note that atomic_inc_return() implies full memory barrier. */
        firstsnap = snap = atomic_inc_return(&sync_sched_expedited_started);
        get_online_cpus();
-       WARN_ON_ONCE(cpu_is_offline(smp_processor_id()));
+       WARN_ON_ONCE(cpu_is_offline(raw_smp_processor_id()));
 
        /*
         * Each pass through the following loop attempts to force a