From 3b8ec640af9c2fbe01c5e302cd26332ad08e5d19 Mon Sep 17 00:00:00 2001 From: Jeremy Fitzhardinge Date: Wed, 5 Oct 2011 11:43:24 +1100 Subject: [PATCH] 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 --- kernel/stop_machine.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.39.5