]> git.baikalelectronics.ru Git - kernel.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)
commit65df6c273f3ff050fd0d9b56df140ba482ccc830
treeb4f5693760c5a8e0f42272715407566f02a86714
parentaca3eb6f7dcbd082207cd260927ac45be5e24147
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