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-20111011~1^2~115 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=169152880bc0a841c0ddb93f61d181462d8e8331;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;