X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=lib%2Fpercpu-refcount.c;h=9877682e49c784adcdd1bba31837ab971819d8c0;hb=fc2fd5f0f1aa85925be2322275ee2dc5ac3acdf4;hp=de10b8c0bff683399baa2a28c2b57f50445ab3da;hpb=c5fd9e77be44360b4827069c59f524815517917b;p=linux diff --git a/lib/percpu-refcount.c b/lib/percpu-refcount.c index de10b8c0bff6..9877682e49c7 100644 --- a/lib/percpu-refcount.c +++ b/lib/percpu-refcount.c @@ -181,7 +181,7 @@ static void __percpu_ref_switch_to_atomic(struct percpu_ref *ref, ref->confirm_switch = confirm_switch ?: percpu_ref_noop_confirm_switch; percpu_ref_get(ref); /* put after confirmation */ - call_rcu_sched(&ref->rcu, percpu_ref_switch_to_atomic_rcu); + call_rcu(&ref->rcu, percpu_ref_switch_to_atomic_rcu); } static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref)