projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
diff --git
a/arch/x86/kernel/cpu/perf_event_intel_uncore.c
b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
index
34c11ae
..
fd8011e
100644
(file)
--- a/
arch/x86/kernel/cpu/perf_event_intel_uncore.c
+++ b/
arch/x86/kernel/cpu/perf_event_intel_uncore.c
@@
-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 = k
malloc_node(size, GFP_KERNEL | __GFP_ZERO
, cpu_to_node(cpu));
+ box = k
zalloc_node(size, GFP_KERNEL
, cpu_to_node(cpu));
if (!box)
return NULL;