From 00f5ba701fe1e43a28a15c5ffc626ce671ec65cb Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 16 Feb 2011 18:42:26 +0000 Subject: [PATCH] [bitops] Add missing __attribute__ (( packed )) Signed-off-by: Michael Brown --- src/include/ipxe/bitops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/ipxe/bitops.h b/src/include/ipxe/bitops.h index 0599168e..4118ef81 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 ) \