memblock: stop using implicit alignment to SMP_CACHE_BYTES
[linux-2.6-block.git] / arch / x86 / platform / olpc / olpc_dt.c
index 115c8e4173bb1647756ba54cf7ebc8fae138982b..24d2175a948038a530078540e3e412240d32706e 100644 (file)
@@ -141,7 +141,7 @@ void * __init prom_early_alloc(unsigned long size)
                 * fast enough on the platforms we care about while minimizing
                 * wasted bootmem) and hand off chunks of it to callers.
                 */
-               res = memblock_alloc(chunk_size, 0);
+               res = memblock_alloc(chunk_size, SMP_CACHE_BYTES);
                BUG_ON(!res);
                prom_early_allocated += chunk_size;
                memset(res, 0, chunk_size);