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: 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 20:59:55 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 27 Apr 2009 12:01:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <877i163pga.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>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <87k5563r1v.fsf@xxxxxxxxxxxxx> <20090427182543.GD5965@xxxxxxxxxxxxxxxxxxxxxxxxx> <877i163pga.fsf@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Ferenc Wagner, le Mon 27 Apr 2009 20:45:57 +0200, a écrit :
> Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:
> > Ferenc Wagner, le Mon 27 Apr 2009 20:11:24 +0200, a écrit :
> >> #define current get_current()
> >
> > I guess we should probably just get rid of the current macro
> 
> Simply removing it works in my case, but I guess there are cases when
> it is needed, aren't there?

Of course, everywhere it's used inside minios.

Samuel

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