diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-01-18 11:50:56 -0800 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-02-05 13:14:49 -0800 |
| commit | c4617b3c28b9a96e09fdbbe2682b875dbfeaec5b (patch) | |
| tree | 7f56a084c13c2773f187807a8670f7e2f32c9736 /build-aux | |
| parent | 7bef2c918ac077da2156697ca821820e56561b9e (diff) | |
| download | openvswitch-c4617b3c28b9a96e09fdbbe2682b875dbfeaec5b.tar.gz | |
openflow: Use types and accessors for half-aligned 64-bit fields.
Without this commit, many of the unit tests for ofp-print.c fail with bus
errors on RISC architectures (tested on sparc) and presumably so would any
other code that uses these same struct members.
Diffstat (limited to 'build-aux')
| -rwxr-xr-x | build-aux/check-structs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build-aux/check-structs b/build-aux/check-structs index 536045fe4..152c6a214 100755 --- a/build-aux/check-structs +++ b/build-aux/check-structs @@ -17,6 +17,7 @@ types['uint64_t'] = {"size": 8, "alignment": 8} types['ovs_be16'] = {"size": 2, "alignment": 2} types['ovs_be32'] = {"size": 4, "alignment": 4} types['ovs_be64'] = {"size": 8, "alignment": 8} +types['ovs_32aligned_be64'] = {"size": 8, "alignment": 4} token = None line = "" |
