Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da554eba authored by Joe Perches's avatar Joe Perches Committed by Thomas Gleixner
Browse files

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



Use the helper function instead of __GFP_ZERO.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent d689fe22
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1518,8 +1518,7 @@ static int init_timers_cpu(int cpu)
			/*
			 * The APs use this path later in boot
			 */
			base = kmalloc_node(sizeof(*base),
						GFP_KERNEL | __GFP_ZERO,
			base = kzalloc_node(sizeof(*base), GFP_KERNEL,
					    cpu_to_node(cpu));
			if (!base)
				return -ENOMEM;