]> git.baikalelectronics.ru Git - kernel.git/commit
c6x: use for_each_of_cpu_node iterator
authorRob Herring <robh@kernel.org>
Mon, 27 Aug 2018 12:53:30 +0000 (07:53 -0500)
committerRob Herring <robh@kernel.org>
Fri, 28 Sep 2018 19:25:58 +0000 (14:25 -0500)
commit65cace0a5602e442964eac7dffb0b3a6a47cebfa
treec3bf51854ef3d171f3fb6f98f8d35a2ffa92578a
parent9bed46267b1b122cd6f7c3ec28d773c36b344824
c6x: use for_each_of_cpu_node iterator

Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This
has the side effect of defaulting to iterating using "cpu" node names
in preference to the deprecated (for FDT) device_type == "cpu".

Cc: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
Cc: linux-c6x-dev@linux-c6x.org
Signed-off-by: Rob Herring <robh@kernel.org>
arch/c6x/kernel/setup.c