perf: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node()
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / x86 / kernel / cpu / perf_event_intel_uncore.c
index 34c11ae..fd8011e 100644 (file)
@@ -2713,7 +2713,7 @@ struct intel_uncore_box *uncore_alloc_box(struct intel_uncore_type *type, int cp
 
        size = sizeof(*box) + type->num_shared_regs * sizeof(struct intel_uncore_extra_reg);
 
-       box = kmalloc_node(size, GFP_KERNEL | __GFP_ZERO, cpu_to_node(cpu));
+       box = kzalloc_node(size, GFP_KERNEL, cpu_to_node(cpu));
        if (!box)
                return NULL;