From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Daley Subject: [PATCH] xen/arm: correct duplicate MPIDR check to actually skip the node Date: Fri, 8 Nov 2013 13:32:03 +1300 Message-ID: <1383870723-9579-1-git-send-email-mattjd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VeZzl-0005Wc-PI for xen-devel@lists.xenproject.org; Fri, 08 Nov 2013 00:32:18 +0000 Received: by mail-ie0-f180.google.com with SMTP id e14so2101373iej.25 for ; Thu, 07 Nov 2013 16:32:14 -0800 (PST) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Matthew Daley , Ian Campbell List-Id: xen-devel@lists.xenproject.org Signed-off-by: Matthew Daley --- 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