diff options
| author | Stuart Menefy <stuart.menefy@st.com> | 2009-08-24 17:35:07 +0900 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-24 17:35:07 +0900 |
| commit | 5e9377ec6f84e5334e9347e84e77d34e9a089ca7 (patch) | |
| tree | 786de19a4f24088aea641be293c869673449aa1f /net/lapb/lapb_subr.c | |
| parent | 8af57f8b4c0ada9063b1cee9d81e3e59f04ce5a2 (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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
