X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=kernel%2Fstop_machine.c;h=74541ca49536fda5dab61d473f8ce9d6aa3f3254;hb=0fbba4871c42b297b0d6a6a6ff73e934cb91423e;hp=0cd415ee62a262ccadea6b592a7402eb89fc4797;hpb=ec9f168fcc344d2ffec1c8c822076bf22dab5c33;p=firefly-linux-kernel-4.4.55.git diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index 0cd415ee62a2..74541ca49536 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -170,7 +170,7 @@ int __stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus) * doesn't hit this CPU until we're ready. */ get_cpu(); for_each_online_cpu(i) { - sm_work = percpu_ptr(stop_machine_work, i); + sm_work = per_cpu_ptr(stop_machine_work, i); INIT_WORK(sm_work, stop_cpu); queue_work_on(i, stop_machine_wq, sm_work); }