summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/of-generic.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-10-29 07:12:34 +0100
committerIngo Molnar <mingo@kernel.org>2018-10-29 07:12:34 +0100
commit97ec37c57dd411d0815455bca07166411c0da1df (patch)
treed64850c43778d15c137772957788093a8b7d032c /arch/sh/boards/of-generic.c
parentx86/cpufeatures: Enumerate MOVDIR64B instruction (diff)
parenti2c-hid: properly terminate i2c_hid_dmi_desc_override_table[] array (diff)
downloadlinux-97ec37c57dd411d0815455bca07166411c0da1df.tar.xz
linux-97ec37c57dd411d0815455bca07166411c0da1df.zip
Merge branch 'linus' into x86/urgent, to refresh the tree
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/sh/boards/of-generic.c')
-rw-r--r--arch/sh/boards/of-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boards/of-generic.c
index 26789ad28193..cde370cad4ae 100644
--- a/arch/sh/boards/of-generic.c
+++ b/arch/sh/boards/of-generic.c
@@ -64,7 +64,7 @@ static void sh_of_smp_probe(void)
init_cpu_possible(cpumask_of(0));
- for_each_node_by_type(np, "cpu") {
+ for_each_of_cpu_node(np) {
const __be32 *cell = of_get_property(np, "reg", NULL);
u64 id = -1;
if (cell) id = of_read_number(cell, of_n_addr_cells(np));