diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2018-03-21 12:46:21 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2018-03-26 13:22:58 -0600 |
commit | 07fd7ef3a1c25a11015bb5821c9c5982f722d4a2 (patch) | |
tree | 4059277e92a709d14c2befaeff83007103f33ca1 /arch/powerpc | |
parent | 0d77ed3589ac054d197ccde7231e36f9e032426c (diff) |
vfio/pci: Use endian neutral helpers
The iowriteXX/ioreadXX functions assume little endian hardware and
convert to little endian on a write and from little endian on a read.
We currently do our own explicit conversion to negate this. Instead,
add some endian dependent defines to avoid all byte swaps. There
should be no functional change other than big endian systems aren't
penalized with wasted swaps.
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions