]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dt: Only print warning, not WARN() on bad cpu map in device tree
authorOlof Johansson <olof@lixom.net>
Sat, 29 Jun 2013 23:25:14 +0000 (16:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 30 Jun 2013 00:00:40 +0000 (17:00 -0700)
commit6a54e925b009879bab71847340ac0e97c36d4539
treea91865df3f9d51b13f6cca16c495fbb2eb4ed792
parentbf5f648f2657675af5875e75c74f410a25cfc7e8
ARM: dt: Only print warning, not WARN() on bad cpu map in device tree

Due to recent changes and expecations of proper cpu bindings, there are
now cases for many of the in-tree devicetrees where a WARN() will hit
on boot due to badly formatted /cpus nodes.

Downgrade this to a pr_warn() to be less alarmist, since it's not a
new problem.

Tested on Arndale, Cubox, Seaboard and Panda ES. Panda hits the WARN
without this, the others do not.

Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/kernel/devtree.c