diff options
-rw-r--r-- | kernel/smp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/smp.c b/kernel/smp.c index ab10793b0707..462c785ca1ee 100644 --- a/kernel/smp.c +++ b/kernel/smp.c | |||
@@ -312,6 +312,7 @@ int smp_call_function_mask(cpumask_t mask, void (*func)(void *), void *info, | |||
312 | if (!data) { | 312 | if (!data) { |
313 | data = &d; | 313 | data = &d; |
314 | data->csd.flags = CSD_FLAG_WAIT; | 314 | data->csd.flags = CSD_FLAG_WAIT; |
315 | wait = 1; | ||
315 | } | 316 | } |
316 | 317 | ||
317 | spin_lock_init(&data->lock); | 318 | spin_lock_init(&data->lock); |