diff options
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r-- | kernel/cpu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 3e8b3ba27175..124ad9d6be16 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c | |||
@@ -357,8 +357,11 @@ int __cpuinit cpu_up(unsigned int cpu) | |||
357 | return -ENOMEM; | 357 | return -ENOMEM; |
358 | } | 358 | } |
359 | 359 | ||
360 | if (pgdat->node_zonelists->_zonerefs->zone == NULL) | 360 | if (pgdat->node_zonelists->_zonerefs->zone == NULL) { |
361 | mutex_lock(&zonelists_mutex); | ||
361 | build_all_zonelists(NULL); | 362 | build_all_zonelists(NULL); |
363 | mutex_unlock(&zonelists_mutex); | ||
364 | } | ||
362 | #endif | 365 | #endif |
363 | 366 | ||
364 | cpu_maps_update_begin(); | 367 | cpu_maps_update_begin(); |