sparc64: update IO access functions in PeeCeeI
authorSam Ravnborg <sam@ravnborg.org>
Sun, 20 Jul 2014 11:38:59 +0000 (13:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jul 2014 04:43:18 +0000 (21:43 -0700)
commit6b8b5507ed921d8fc5dc44f6eed0c14deb401495
treeac17fc8095003d2e1f6e9f38c5d3a175e9f97cc6
parentd650471a399e65e423967e0b7692c86228211522
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>
arch/sparc/lib/PeeCeeI.c
This page took 0.032747 seconds and 5 git commands to generate.