]> git.baikalelectronics.ru Git - kernel.git/commit
x86: DT: use for_each_of_cpu_node iterator
authorRob Herring <robh@kernel.org>
Mon, 27 Aug 2018 14:44:05 +0000 (09:44 -0500)
committerRob Herring <robh@kernel.org>
Fri, 28 Sep 2018 19:25:58 +0000 (14:25 -0500)
commit49997927c60cdbadc2d2f7d3217041821a3ba48f
tree968a7b27d5dc43f1fc6254a977a8657c41370db0
parentdb46afee319dc389f26f08a863f98a4a07cb2bd9
x86: DT: 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: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rob Herring <robh@kernel.org>
arch/x86/kernel/devicetree.c