]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
stop_machine-make-stop_machine-safe-and-efficient-to-call-early-v3.
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Wed, 5 Oct 2011 00:43:24 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Oct 2011 06:06:50 +0000 (17:06 +1100)
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@google.com>
kernel/stop_machine.c

index 0ee58f4545abed705c0e7bfb76016c6a000f3af6..880749c78ba6fdae638084c47332d8d06ff2f8b5 100644 (file)
@@ -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;