summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe
diff options
context:
space:
mode:
authorMichael Brown2011-02-16 19:42:26 +0100
committerMichael Brown2011-02-17 02:25:10 +0100
commit00f5ba701fe1e43a28a15c5ffc626ce671ec65cb (patch)
tree2c5a20362cab26f40484ea72bde46dede8a8693e /src/include/ipxe
parent[hermon] Add missing __attribute__ (( packed )) (diff)
downloadipxe-00f5ba701fe1e43a28a15c5ffc626ce671ec65cb.tar.gz
ipxe-00f5ba701fe1e43a28a15c5ffc626ce671ec65cb.tar.xz
ipxe-00f5ba701fe1e43a28a15c5ffc626ce671ec65cb.zip
[bitops] Add missing __attribute__ (( packed ))
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
-rw-r--r--src/include/ipxe/bitops.h2
1 files changed, 1 insertions, 1 deletions
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 ) \