|
@@ -87,14 +87,11 @@ void __init arm_dt_init_cpu_maps(void)
|
|
if (!cpus)
|
|
if (!cpus)
|
|
return;
|
|
return;
|
|
|
|
|
|
- for_each_child_of_node(cpus, cpu) {
|
|
|
|
|
|
+ for_each_of_cpu_node(cpu) {
|
|
const __be32 *cell;
|
|
const __be32 *cell;
|
|
int prop_bytes;
|
|
int prop_bytes;
|
|
u32 hwid;
|
|
u32 hwid;
|
|
|
|
|
|
- if (of_node_cmp(cpu->type, "cpu"))
|
|
|
|
- continue;
|
|
|
|
-
|
|
|
|
pr_debug(" * %pOF...\n", cpu);
|
|
pr_debug(" * %pOF...\n", cpu);
|
|
/*
|
|
/*
|
|
* A device tree containing CPU nodes with missing "reg"
|
|
* A device tree containing CPU nodes with missing "reg"
|