From: Joe Perches Date: Tue, 5 Nov 2013 05:54:54 +0000 (+1100) Subject: kernel/timer.c: convert kmalloc_node(...GFP_ZERO...) to kzalloc_node(...) X-Git-Tag: next-20131105~2^2~324 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e29a1deed5a387889eaf1f2311c243c67d67b24f;p=karo-tx-linux.git kernel/timer.c: 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 --- diff --git a/kernel/timer.c b/kernel/timer.c index 4296d13db3d1..fab8eac627db 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;