Merge tag 'libnvdimm-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdim...
[sfrench/cifs-2.6.git] / kernel / tracepoint.c
index a3be42304485fdc2b1643ee2e649351ba32641bf..46f2ab1e08a9e9458cc1afc1f804e0b2b173d846 100644 (file)
@@ -92,7 +92,7 @@ static __init int release_early_probes(void)
        while (early_probes) {
                tmp = early_probes;
                early_probes = tmp->next;
-               call_rcu_sched(tmp, rcu_free_old_probes);
+               call_rcu(tmp, rcu_free_old_probes);
        }
 
        return 0;
@@ -123,7 +123,7 @@ static inline void release_probes(struct tracepoint_func *old)
                 * cover both cases. So let us chain the SRCU and sched RCU
                 * callbacks to wait for both grace periods.
                 */
-               call_rcu_sched(&tp_probes->rcu, rcu_free_old_probes);
+               call_rcu(&tp_probes->rcu, rcu_free_old_probes);
        }
 }