> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/