diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-07-20 13:38:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-21 21:43:18 -0700 |
commit | 6b8b5507ed921d8fc5dc44f6eed0c14deb401495 (patch) | |
tree | ac17fc8095003d2e1f6e9f38c5d3a175e9f97cc6 /tools/perf/scripts/python | |
parent | d650471a399e65e423967e0b7692c86228211522 (diff) |
sparc64: update IO access functions in PeeCeeI
The PeeCeeI.c code used in*() + out*() for IO access.
But these are in little endian and the native (big) endian
result was required which resulted in some bit-shifting.
Shift the code over to use the __raw_*() variants all over.
This simplifies the code as we can drop the calls
to le16_to_cpu() and le32_to_cpu().
And it should be a little faster too.
With this change we now uses the same type of IO access functions
in all of the file.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions