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

[Xen-devel] Re: Pesky '#define current' in mini-os/sched.h

To: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: Pesky '#define current' in mini-os/sched.h
From: Ferenc Wagner <wferi@xxxxxxx>
Date: Mon, 27 Apr 2009 22:47:54 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 27 Apr 2009 13:48:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090427203544.GQ5965@xxxxxxxxxxxxxxxxxxxxxxxxx> (Samuel Thibault's message of "Mon, 27 Apr 2009 22:35:44 +0200")
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <873abt51e5.fsf@xxxxxxxxxxxxx> <C61BCB0A.9948%keir.fraser@xxxxxxxxxxxxx> <20090427200345.GM5965@xxxxxxxxxxxxxxxxxxxxxxxxx> <87ocuh3kjd.fsf@xxxxxxxxxxxxx> <20090427203544.GQ5965@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:

> Ferenc Wagner, le Mon 27 Apr 2009 22:32:06 +0200, a écrit :
>> Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:
>> 
>>> Keir Fraser, le Mon 27 Apr 2009 20:50:18 +0100, a écrit :
>>>
>>>> The simplest fix would be to wrap the '#define current' in a '#ifdef
>>>> __MINIOS__' region.
>>>
>>> There actually already is such wrapper.
>> 
>> Where?  Not in mini-os/sched.h.
>
> Are we perhaps looking at different trees? I can see
>
> #ifdef __INSIDE_MINIOS__

I'm working with xen-3.3.1, which is the latest stable, as far as I
know.  Maybe it's already fixed in your development version.
-- 
Feri.

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

<Prev in Thread] Current Thread [Next in Thread>