stop_machine: Fix stop_cpus_in_progress ordering
authorPeter Zijlstra <peterz@infradead.org>
Wed, 29 May 2019 20:36:37 +0000 (20:36 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 8 Aug 2019 07:09:30 +0000 (09:09 +0200)
commit99d84bf8c65a7a0dbc9e166ca0a58ed949ac4f37
treeb4d938b98e1054a8af192b20ebc2df00359008ca
parentde53fd7aedb100f03e5d2231cfce0e4993282425
stop_machine: Fix stop_cpus_in_progress ordering

Make sure the entire for loop has stop_cpus_in_progress set.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Aaron Lu <aaron.lwe@gmail.com>
Cc: Valentin Schneider <valentin.schneider@arm.com>
Cc: mingo@kernel.org
Cc: Phil Auld <pauld@redhat.com>
Cc: Julien Desfossez <jdesfossez@digitalocean.com>
Cc: Nishanth Aravamudan <naravamudan@digitalocean.com>
Link: https://lkml.kernel.org/r/0fd8fd4b99b9b9aa88d8b2dff897f7fd0d88f72c.1559129225.git.vpillai@digitalocean.com
kernel/stop_machine.c