xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xen/arm: correct duplicate MPIDR check to actually skip the node
@ 2013-11-08  0:32 Matthew Daley
  2013-11-11 16:10 ` Ian Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Daley @ 2013-11-08  0:32 UTC (permalink / raw)
  To: xen-devel; +Cc: Matthew Daley, Ian Campbell

Signed-off-by: Matthew Daley <mattjd@gmail.com>
---
I assume this was what was really intended...

 xen/arch/arm/smpboot.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/xen/arch/arm/smpboot.c b/xen/arch/arm/smpboot.c
index b836be4..6c90fa6 100644
--- a/xen/arch/arm/smpboot.c
+++ b/xen/arch/arm/smpboot.c
@@ -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
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-19 14:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-08  0:32 [PATCH] xen/arm: correct duplicate MPIDR check to actually skip the node Matthew Daley
2013-11-11 16:10 ` Ian Campbell
2013-11-11 19:54   ` Julien Grall
2013-11-19 14:53     ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).