From: Michael Brown Date: Wed, 16 Feb 2011 18:42:26 +0000 (+0000) Subject: [bitops] Add missing __attribute__ (( packed )) X-Git-Tag: v1.20.1~2313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00f5ba701fe1e43a28a15c5ffc626ce671ec65cb;p=thirdparty%2Fipxe.git [bitops] Add missing __attribute__ (( packed )) Signed-off-by: Michael Brown --- diff --git a/src/include/ipxe/bitops.h b/src/include/ipxe/bitops.h index 0599168eb..4118ef819 100644 --- a/src/include/ipxe/bitops.h +++ b/src/include/ipxe/bitops.h @@ -66,7 +66,7 @@ typedef unsigned char pseudo_bit_t; uint32_t dwords[ sizeof ( _structure ) / 32 ]; \ uint64_t qwords[ sizeof ( _structure ) / 64 ]; \ _structure *dummy[0]; \ - } u + } __attribute__ (( packed )) u /** Get pseudo_bit_t structure type from wrapper structure pointer */ #define PSEUDO_BIT_STRUCT_TYPE( _ptr ) \