summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/acpi_numa.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kernel/acpi_numa.c')
-rw-r--r--arch/riscv/kernel/acpi_numa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kernel/acpi_numa.c b/arch/riscv/kernel/acpi_numa.c
index a93c773b60e6..130769e3a99c 100644
--- a/arch/riscv/kernel/acpi_numa.c
+++ b/arch/riscv/kernel/acpi_numa.c
@@ -28,7 +28,7 @@
#include <asm/numa.h>
-static int acpi_early_node_map[NR_CPUS] __initdata = { NUMA_NO_NODE };
+static int acpi_early_node_map[NR_CPUS] __initdata = { [0 ... NR_CPUS - 1] = NUMA_NO_NODE };
static int __init acpi_numa_get_nid(unsigned int cpu)
{