[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
- To: Julien Grall <julien.grall@xxxxxxxxxx>
- From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
- Date: Tue, 24 Jun 2014 00:33:55 +0200
- Cc: Thomas Leonard <talex5@xxxxxxxxx>, David Scott <Dave.Scott@xxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, Anil Madhavapeddy <anil@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Ian Campbell <ian.campbell@xxxxxxxxxx>
- Delivery-date: Mon, 23 Jun 2014 22:34:31 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
- Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Julien Grall <julien.grall@xxxxxxxxxx>, Thomas Leonard <talex5@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, David Scott <Dave.Scott@xxxxxxxxxxxxx>, Anil Madhavapeddy <anil@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, KarimAllah Ahmed <karim.allah.ahmed@xxxxxxxxx>, Ian Campbell <ian.campbell@xxxxxxxxxx>
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
|