Use the helper function instead of __GFP_ZERO.
Unified · Split
| @@ -1518,9 +1518,8 @@ static int init_timers_cpu(int cpu) · 1517 unmodified lines | ||
| 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 | |