memblock: stop using implicit alignment to SMP_CACHE_BYTES
[linux-2.6-block.git] / mm / sparse.c
index ab2ac45e044091357751cb71e204b573128708cc..33307fc05c4d3372d5e4746116330532765e61d7 100644 (file)
@@ -68,7 +68,8 @@ static noinline struct mem_section __ref *sparse_index_alloc(int nid)
        if (slab_is_available())
                section = kzalloc_node(array_size, GFP_KERNEL, nid);
        else
-               section = memblock_alloc_node(array_size, 0, nid);
+               section = memblock_alloc_node(array_size, SMP_CACHE_BYTES,
+                                             nid);
 
        return section;
 }