|
@@ -327,6 +327,8 @@ static bool __of_find_n_match_cpu_property(struct device_node *cpun,
|
|
|
|
|
|
ac = of_n_addr_cells(cpun);
|
|
ac = of_n_addr_cells(cpun);
|
|
cell = of_get_property(cpun, prop_name, &prop_len);
|
|
cell = of_get_property(cpun, prop_name, &prop_len);
|
|
|
|
+ if (!cell && !ac && arch_match_cpu_phys_id(cpu, 0))
|
|
|
|
+ return true;
|
|
if (!cell || !ac)
|
|
if (!cell || !ac)
|
|
return false;
|
|
return false;
|
|
prop_len /= sizeof(*cell) * ac;
|
|
prop_len /= sizeof(*cell) * ac;
|