diff options
author | jmg <jmg@FreeBSD.org> | 2014-03-16 00:53:40 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2014-03-16 00:53:40 +0000 |
commit | b66f059b49e9d4c8e6053415f4e4d4c95a1d6355 (patch) | |
tree | 59a8765c3a1415fa4b57a58fdbafad794de0152c /sys/crypto/sha2 | |
parent | 54604392955d3fc50e09e5e00fc76dcd17bdb444 (diff) | |
download | FreeBSD-src-b66f059b49e9d4c8e6053415f4e4d4c95a1d6355.zip FreeBSD-src-b66f059b49e9d4c8e6053415f4e4d4c95a1d6355.tar.gz |
change td_retval into a union w/ off_t, with defines to mask the
change... This eliminates a cast, and also forces td_retval
(often 2 32-bit registers) to be aligned so that off_t's can be
stored there on arches with strict alignment requirements like
armeb (AVILA)... On i386, this doesn't change alignment, and on
amd64 it doesn't either, as register_t is already 64bits...
This will also prevent future breakage due to people adding additional
fields to the struct...
This gets AVILA booting a bit farther...
Reviewed by: bde
Diffstat (limited to 'sys/crypto/sha2')
0 files changed, 0 insertions, 0 deletions