memblock: stop using implicit alignment to SMP_CACHE_BYTES
[linux-2.6-block.git] / arch / alpha / kernel / core_marvel.c
index 8a568c4d8e81cedcb5a9c91c93f32f480e4a0294..c1d0c18c71ca4c7d8523094d4ba4568418754336 100644 (file)
@@ -82,7 +82,7 @@ mk_resource_name(int pe, int port, char *str)
        char *name;
        
        sprintf(tmp, "PCI %s PE %d PORT %d", str, pe, port);
-       name = memblock_alloc(strlen(tmp) + 1, 0);
+       name = memblock_alloc(strlen(tmp) + 1, SMP_CACHE_BYTES);
        strcpy(name, tmp);
 
        return name;
@@ -117,7 +117,7 @@ alloc_io7(unsigned int pe)
                return NULL;
        }
 
-       io7 = memblock_alloc(sizeof(*io7), 0);
+       io7 = memblock_alloc(sizeof(*io7), SMP_CACHE_BYTES);
        io7->pe = pe;
        raw_spin_lock_init(&io7->irq_lock);