aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/devtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/devtree.c')
-rw-r--r--arch/arm/kernel/devtree.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c
index ecaa68dd1af5..13bcd3b867cb 100644
--- a/arch/arm/kernel/devtree.c
+++ b/arch/arm/kernel/devtree.c
@@ -87,14 +87,11 @@ void __init arm_dt_init_cpu_maps(void)
87 if (!cpus) 87 if (!cpus)
88 return; 88 return;
89 89
90 for_each_child_of_node(cpus, cpu) { 90 for_each_of_cpu_node(cpu) {
91 const __be32 *cell; 91 const __be32 *cell;
92 int prop_bytes; 92 int prop_bytes;
93 u32 hwid; 93 u32 hwid;
94 94
95 if (of_node_cmp(cpu->type, "cpu"))
96 continue;
97
98 pr_debug(" * %pOF...\n", cpu); 95 pr_debug(" * %pOF...\n", cpu);
99 /* 96 /*
100 * A device tree containing CPU nodes with missing "reg" 97 * A device tree containing CPU nodes with missing "reg"