WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH][retry 3][1/2] new vcpu op call to get physical C

To: Mark Langsdorf <mark.langsdorf@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>, Chris Lalancette <clalance@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][retry 3][1/2] new vcpu op call to get physical CPU information
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 05 Mar 2008 10:35:33 +0000
Delivery-date: Wed, 05 Mar 2008 02:36:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200803041552.28425.mark.langsdorf@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ach+rKPw4kOwzOqfEdyBAAAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH][retry 3][1/2] new vcpu op call to get physical CPU information
User-agent: Microsoft-Entourage/11.4.0.080122
On 4/3/08 21:52, "Mark Langsdorf" <mark.langsdorf@xxxxxxx> wrote:

> +        for (i = 0; i++; i < NR_CPUS)
> +             if (x86_acpiid_to_apicid[i] == x86_cpu_to_apicid[cpu_num])
> +                 temp = i;

A novel ordering for a for-loop header!

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel