]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/smp.c
force offline the processor during hot-removal
[mv-sheeva.git] / kernel / smp.c
index ab10793b0707d6ced7f0d4fe91328200d747bbfd..462c785ca1eee80dea958541edf19786259c88e6 100644 (file)
@@ -312,6 +312,7 @@ int smp_call_function_mask(cpumask_t mask, void (*func)(void *), void *info,
        if (!data) {
                data = &d;
                data->csd.flags = CSD_FLAG_WAIT;
+               wait = 1;
        }
 
        spin_lock_init(&data->lock);