timer: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node(...)

Use the helper function instead of __GFP_ZERO.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Joe Perches
2013-11-15 14:15:31 -08:00
committed by Thomas Gleixner
parent d689fe222a
commit da554eba2e

View File

@@ -1518,8 +1518,7 @@ static int init_timers_cpu(int cpu)
/* /*
* The APs use this path later in boot * The APs use this path later in boot
*/ */
base = kmalloc_node(sizeof(*base), base = kzalloc_node(sizeof(*base), GFP_KERNEL,
GFP_KERNEL | __GFP_ZERO,
cpu_to_node(cpu)); cpu_to_node(cpu));
if (!base) if (!base)
return -ENOMEM; return -ENOMEM;