memblock: stop using implicit alignment to SMP_CACHE_BYTES
[platform/kernel/linux-starfive.git] / arch / x86 / kernel / acpi / boot.c
index 7f5d212..92c76bf 100644 (file)
@@ -934,7 +934,7 @@ static int __init acpi_parse_hpet(struct acpi_table_header *table)
         */
 #define HPET_RESOURCE_NAME_SIZE 9
        hpet_res = memblock_alloc(sizeof(*hpet_res) + HPET_RESOURCE_NAME_SIZE,
-                                 0);
+                                 SMP_CACHE_BYTES);
 
        hpet_res->name = (void *)&hpet_res[1];
        hpet_res->flags = IORESOURCE_MEM;