diff options
-rw-r--r-- | arch/arm/kernel/devtree.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 0905502bee15..5859c8bc727c 100644 --- a/arch/arm/kernel/devtree.c +++ b/arch/arm/kernel/devtree.c | |||
@@ -152,9 +152,10 @@ void __init arm_dt_init_cpu_maps(void) | |||
152 | tmp_map[i] = hwid; | 152 | tmp_map[i] = hwid; |
153 | } | 153 | } |
154 | 154 | ||
155 | if (WARN(!bootcpu_valid, "DT missing boot CPU MPIDR[23:0], " | 155 | if (!bootcpu_valid) { |
156 | "fall back to default cpu_logical_map\n")) | 156 | pr_warn("DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map\n"); |
157 | return; | 157 | return; |
158 | } | ||
158 | 159 | ||
159 | /* | 160 | /* |
160 | * Since the boot CPU node contains proper data, and all nodes have | 161 | * Since the boot CPU node contains proper data, and all nodes have |