commit | 9e2fe2ce4e957a79d3dc5d813e0cfb10d79b79b3 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <mita@fixstars.com> | Mon Apr 23 21:08:22 2007 +0200 |
committer | Arnd Bergmann <arnd@klappe.arndb.de> | Mon Apr 23 21:18:57 2007 +0200 |
tree | 1e7905b1bbf362e18d18636557e0cecf964d1a99 | |
parent | 8a7d86bdb22678b17928eef0c8fa356d8b21cc76 [diff] |
[POWERPC] spufs: use memcpy_fromio() to copy from local store GCC may generates inline copy loop to handle memcpy() function instead of kernel defined memcpy(). But this inlined version of memcpy() causes an alignment interrupt when copying from local store. This patch uses memcpy_fromio() and memcpy_toio to copy local store to prevent memcpy() being inlined. Signed-off-by: Akinobu Mita <mita@fixstars.com> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>