]> xenbits.xensource.com Git - xen.git/commitdiff
xen/arm: correct duplicate MPIDR check to actually skip the node
authorMatthew Daley <mattjd@gmail.com>
Fri, 8 Nov 2013 00:32:03 +0000 (13:32 +1300)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 19 Nov 2013 14:39:12 +0000 (14:39 +0000)
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/smpboot.c

index b836be4e4d9beef97342c384ae2502ae865d859d..6c90fa6fc568fcc39f85f91af22bab3136d9f23f 100644 (file)
@@ -161,9 +161,11 @@ void __init smp_init_cpus(void)
                 printk(XENLOG_WARNING
                        "cpu node `%s`: duplicate /cpu reg properties in the DT\n",
                        dt_node_full_name(cpu));
-                continue;
+                break;
             }
         }
+        if ( j != cpuidx )
+            continue;
 
         /*
          * Build a stashed array of MPIDR values. Numbering scheme requires