]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7762/1: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 19 Jun 2013 09:36:26 +0000 (10:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 24 Jun 2013 13:25:42 +0000 (14:25 +0100)
commitaaebc4906ccc10d8b549bbac7ce0af091cd93e92
tree6d975c4d04a66923303971ad7fa6f59719c12c19
parentd42a56d0fc5fd380d3bb91e7c7f97fa0d9b3b5ab
ARM: 7762/1: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes

The introduction of the cpu-map topology node in the cpus node implies
that cpus node might have children that are not cpu nodes. The DT
parsing code needs updating otherwise it would check for cpu nodes
properties in nodes that are not required to contain them, resulting
in warnings that have no bearing on bindings defined in the dts source file.

Cc: <stable@vger.kernel.org> [3.8+]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/devtree.c