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

Re: [Xen-devel] [PATCH] xen/block: Correctly define structures in public headers on ARM32 and ARM64



> Just a random thought but what about using the CONFIG_$ARCH to define a
> more semantic name, like HAVE_4_BYTE_ALIGNED_QUAD_WORDS, or whichever
> terminology for an 8-byte type is appropriate in the context.
> 
> Maybe Linux even already has such a #define?

It doesn't need one. It's written in GNU C so we have __alignof__.

See

http://gcc.gnu.org/onlinedocs/gcc/Alignment.html


_______________________________________________
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®.