|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen: Use ULL for GB macro
Hi Jan, On 22/05/2015 07:53, Jan Beulich wrote: On 22.05.15 at 01:16, <julien.grall@xxxxxxxxxx> wrote: I didn't know this shorthand. I will use %Lx --- a/xen/include/xen/config.h +++ b/xen/include/xen/config.h @@ -70,7 +70,7 @@ #define __bitwise #define MB(_mb) (_AC(_mb, UL) << 20) -#define GB(_gb) (_AC(_gb, UL) << 30) +#define GB(_gb) (_AC(_gb, ULL) << 30)So why do you leave MB() alone? It obviously suffers from the same problem (perhaps only latent at this point, but anyway). Because I haven't had any problem with MB. I will resend a new version with the 2 fixes. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |