Commit da554eba2e68c8ec051977db5ee1f42d384a01ed
Committed by
Thomas Gleixner
1 parent
d689fe222a
Exists in
master
and in
16 other branches
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>
Showing 1 changed file with 2 additions and 3 deletions Side-by-side Diff
kernel/timer.c
... | ... | @@ -1518,9 +1518,8 @@ |
1518 | 1518 | /* |
1519 | 1519 | * The APs use this path later in boot |
1520 | 1520 | */ |
1521 | - base = kmalloc_node(sizeof(*base), | |
1522 | - GFP_KERNEL | __GFP_ZERO, | |
1523 | - cpu_to_node(cpu)); | |
1521 | + base = kzalloc_node(sizeof(*base), GFP_KERNEL, | |
1522 | + cpu_to_node(cpu)); | |
1524 | 1523 | if (!base) |
1525 | 1524 | return -ENOMEM; |
1526 | 1525 |