]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[bitops] Add missing __attribute__ (( packed ))
authorMichael Brown <mcb30@ipxe.org>
Wed, 16 Feb 2011 18:42:26 +0000 (18:42 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 17 Feb 2011 01:25:10 +0000 (01:25 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/bitops.h

index 0599168eba00f36627401105c4ae939ae6306956..4118ef81964338cf096e5ebfadcad1b5aed16a9f 100644 (file)
@@ -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 )                                       \