memblock: stop using implicit alignment to SMP_CACHE_BYTES
[platform/kernel/linux-starfive.git] / arch / um / drivers / net_kern.c
index 6738168..624cb47 100644 (file)
@@ -650,7 +650,7 @@ static int __init eth_setup(char *str)
                return 1;
        }
 
-       new = memblock_alloc(sizeof(*new), 0);
+       new = memblock_alloc(sizeof(*new), SMP_CACHE_BYTES);
 
        INIT_LIST_HEAD(&new->list);
        new->index = n;