Skip to contentSkip to conversation

kernel-timerc-convert-kmalloc_nodegfp_zero-to-kzalloc_node.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 27, 2013

lore
Share & tools
lore
#0 lore raw

Subject: [merged] kernel-timerc-convert-kmalloc_nodegfp_zero-to-kzalloc_node.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 27 Nov 2013 12:26:31 -0800

The patch titled
Subject: kernel/timer.c: convert kmalloc_node(...GFP_ZERO...) to kzalloc_node(...)
has been removed from the -mm tree. Its filename was
kernel-timerc-convert-kmalloc_nodegfp_zero-to-kzalloc_node.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Joe Perches <[email protected]>
Subject: kernel/timer.c: convert kmalloc_node(...GFP_ZERO...) to kzalloc_node(...)

Use the helper function instead of __GFP_ZERO.

---

 kernel/timer.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
kernel/timer.c renamed from kernel/timer.c~kernel-timerc-convert-kmalloc_nodegfp_zero-to-kzalloc_node +2 -3
diff -puN kernel/timer.c~kernel-timerc-convert-kmalloc_nodegfp_zero-to-kzalloc_node 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;
 

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch
lib-parserc-add-match_wildcard-function.patch lib-parserc-put-export_symbols-in-the-conventional-place.patch dynamic_debug-add-wildcard-support-to-filter-files-functions-modules.patch dynamic-debug-howtotxt-update-since-new-wildcard-support.patch printk-cache-mark-printk_once-test-variable-__read_mostly.patch printk-cache-mark-printk_once-test-variable-__read_mostly-fix.patch get_maintainer-add-commit-author-information-to-rolestats.patch checkpatchpl-check-for-function-declarations-without-arguments.patch