diff options
author | Alex Williamson <[email protected]> | 2018-03-21 12:46:21 -0600 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2018-03-26 13:22:58 -0600 |
commit | 07fd7ef3a1c25a11015bb5821c9c5982f722d4a2 (patch) | |
tree | 4059277e92a709d14c2befaeff83007103f33ca1 /tools/perf/scripts/python/stackcollapse.py | |
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 <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions