]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a5de5706dfa858c4fe1803a2cfc080212b3529a
tree18090f675ad36a6dc6a91f88d34ace88784fa1fa
parentb4c7a6265f75acc2e6283f454d85cce2f18a9ca9
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