[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH ARM v4 07/12] mini-os: initial ARM support



Julien Grall, le Mon 23 Jun 2014 17:55:05 +0100, a écrit :
> >>> +#define unlikely(x)  __builtin_expect((x),0)
> >>> +#define likely(x)  __builtin_expect((x),1)
> >>
> >>
> >> Can't it be common with x86?
> > 
> > Which header file should it go in?
> 
> I don't know much mini-os, but I would add either in lib.h or create a
> new header compiler.h.

A new compiler.h makes sense to me.

Samuel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.