summaryrefslogtreecommitdiff
path: root/arch/sh/mm/cache-sh4.c
diff options
context:
space:
mode:
authorStuart Menefy <stuart.menefy@st.com>2009-08-24 17:35:07 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-24 17:35:07 +0900
commit5e9377ec6f84e5334e9347e84e77d34e9a089ca7 (patch)
tree786de19a4f24088aea641be293c869673449aa1f /arch/sh/mm/cache-sh4.c
parent8af57f8b4c0ada9063b1cee9d81e3e59f04ce5a2 (diff)
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 <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/cache-sh4.c')
0 files changed, 0 insertions, 0 deletions