projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d689fe2
)
timer: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node(...)
author
Joe Perches
<joe@perches.com>
Fri, 15 Nov 2013 22:15:31 +0000
(14:15 -0800)
committer
Thomas Gleixner
<tglx@linutronix.de>
Tue, 19 Nov 2013 13:59:50 +0000
(14:59 +0100)
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>
kernel/timer.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/timer.c
b/kernel/timer.c
index 6582b82fa966d6ba503a7361f8f89f699f4de04d..accfd241b9e5d5c67040407dfa4f3d8603851de2 100644
(file)
--- 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;