diff options
author | David Disseldorp <ddiss@samba.org> | 2014-05-05 13:42:36 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-05-19 12:18:00 +0200 |
commit | 8f0c74e860644b6eb0fc1c8d0bce0e776b053848 (patch) | |
tree | 787ca654830be25126c1b599e1312d3ff88c3b62 /ctdb/include/ctdb_protocol.h | |
parent | 1d255d2138e74eca2ad5e0ad906d7a34a9819095 (diff) | |
download | samba-8f0c74e860644b6eb0fc1c8d0bce0e776b053848.tar.gz |
byteorder: do not assume PowerPC is big-endian
byteorder.h currently uses reverse-indexing ASM instructions for little
endian multi-byte storage/retrieval on PowerPC. With Power8 this is an
incorrect assumption, as it can be big or little endian.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10590
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit 5bf6ed5ebd0dc5ecdc5bcfb1d4720e9251849adc)
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
0 files changed, 0 insertions, 0 deletions