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/
Home Products Support Community News


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

To: Ferenc Wagner <wferi@xxxxxxx>
Subject: [Xen-devel] Re: Pesky '#define current' in mini-os/sched.h
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Date: Mon, 27 Apr 2009 22:35:44 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 27 Apr 2009 13:36:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87ocuh3kjd.fsf@xxxxxxxxxxxxx>
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>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Ferenc Wagner <wferi@xxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
References: <873abt51e5.fsf@xxxxxxxxxxxxx> <C61BCB0A.9948%keir.fraser@xxxxxxxxxxxxx> <20090427200345.GM5965@xxxxxxxxxxxxxxxxxxxxxxxxx> <87ocuh3kjd.fsf@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
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__


Xen-devel mailing list