summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2018-03-21 12:46:21 -0600
committerAlex Williamson <alex.williamson@redhat.com>2018-03-26 13:22:58 -0600
commit07fd7ef3a1c25a11015bb5821c9c5982f722d4a2 (patch)
tree4059277e92a709d14c2befaeff83007103f33ca1 /arch/powerpc
parent0d77ed3589ac054d197ccde7231e36f9e032426c (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