Merge branches 'x86/early-printk', 'x86/microcode' and 'core/objtool' into x86/urgent...
[sfrench/cifs-2.6.git] / arch / sh / boards / of-generic.c
index 26789ad2819360fc2e480e51185a4c3161cbe972..cde370cad4ae3c0b447929a63e6d197c0a38f562 100644 (file)
@@ -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));