]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sparc64: remove byteshifting from out* helpers
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 29 Oct 2008 22:33:28 +0000 (15:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Oct 2008 22:33:28 +0000 (15:33 -0700)
commit1758ef68a07f42983371dc1d2bf0ae80b4d8ea16
treeb4f5693760c5a8e0f42272715407566f02a86714
parent60b8267338aafde5315fc65ff385f3d4d75eccfe
sparc64: remove byteshifting from out* helpers

__raw_write avoids the need to byteswap, as we are reading from a
host-endian area, just deref the pointers directly, taking care
of alignment.

As before, outsw must be called with a 2-byte aligned pointer.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/lib/PeeCeeI.c