From: Jeremy Fitzhardinge Date: Wed, 5 Oct 2011 00:43:24 +0000 (+1100) Subject: stop_machine-make-stop_machine-safe-and-efficient-to-call-early-v3. X-Git-Tag: next-20111007~1^2~115 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9c5354a68fbdfe8f4a83222c3255b79a334c2e7e;p=karo-tx-linux.git stop_machine-make-stop_machine-safe-and-efficient-to-call-early-v3. Signed-off-by: Jeremy Fitzhardinge Acked-by: Tejun Heo Signed-off-by: Andrew Morton --- diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index 0ee58f4545ab..880749c78ba6 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -490,8 +490,9 @@ int __stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus) if (!stop_machine_initialized) { /* - * Handle the case where stop_machine() is called early in boot - * before SMP startup. + * Handle the case where stop_machine() is called + * early in boot before stop_machine() has been + * initialized. */ unsigned long flags; int ret;