From: Stuart Menefy Date: Mon, 24 Aug 2009 08:35:07 +0000 (+0900) Subject: sh: Optimise memcpy_to/fromio for SH4 X-Git-Tag: v2.6.32-rc1~640^2~35^2~14^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e9377ec6f84e5334e9347e84e77d34e9a089ca7;p=pandora-kernel.git sh: Optimise memcpy_to/fromio for SH4 Optimise memcpy_to/fromio. This is used extensivly by MTD, so is a worthwhile performance gain. The main savings come from not repeatedly calling readl/writel, and doing word instead of byte at a time transfers. Also using "movca.l" on SH4 gives a small performance win. Signed-off-by: Stuart Menefy Signed-off-by: Paul Mundt --- Reading git-diff-tree failed