powerpc: tiny memcpy_(to|from)io optimisation
authorAlbrecht Dreß <albrecht.dress@arcor.de>
Wed, 4 Nov 2009 23:43:12 +0000 (16:43 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 4 Nov 2009 23:43:12 +0000 (16:43 -0700)
commita22c65f81ae28656b80d2acc687cf6318eb15bba
tree18090f675ad36a6dc6a91f88d34ace88784fa1fa
parent5cc17d7e01abd77eda1267a75748cfc84c92a523
powerpc: tiny memcpy_(to|from)io optimisation

This trivial patch changes memcpy_(to|from)io as to transfer as many
32-bit words as possible in 32-bit accesses (in the current solution,
the last 32-bit word was transferred as 4 byte accesses).

Signed-off-by: Albrecht Dreß <albrecht.dress@arcor.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/kernel/io.c