]> asedeno.scripts.mit.edu Git - linux.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)
commit7de8f4aa2f35583eea8efc7d7c2cc35d13964d97
tree968a7b27d5dc43f1fc6254a977a8657c41370db0
parent8cabf5bc10499cbce8ed8f377b7c978717e3952c
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