From: Joe Perches Date: Fri, 15 Nov 2013 22:15:31 +0000 (-0800) Subject: timer: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node(...) X-Git-Tag: v4.13~8274^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=da554eba2e68c8ec051977db5ee1f42d384a01ed;p=mirror_ubuntu-bionic-kernel.git timer: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node(...) Use the helper function instead of __GFP_ZERO. Signed-off-by: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Thomas Gleixner --- diff --git a/kernel/timer.c b/kernel/timer.c index 6582b82fa966..accfd241b9e5 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -1518,9 +1518,8 @@ static int init_timers_cpu(int cpu) /* * The APs use this path later in boot */ - base = kmalloc_node(sizeof(*base), - GFP_KERNEL | __GFP_ZERO, - cpu_to_node(cpu)); + base = kzalloc_node(sizeof(*base), GFP_KERNEL, + cpu_to_node(cpu)); if (!base) return -ENOMEM;