Blackfin: only flag L1 instruction for DMA memcpy
authorMike Frysinger <vapier@gentoo.org>
Wed, 5 Nov 2008 13:50:23 +0000 (08:50 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 2 Feb 2009 17:24:46 +0000 (12:24 -0500)
commitb93c68648426f906d63b98117496b6415f505f39
tree6ff7dc0a09d983ff8b6dc201f7d7a58642371033
parente347c092a3b3a2ce1e72f25f4829163634d09fbe
Blackfin: only flag L1 instruction for DMA memcpy

The performance difference from doing an 8 bit DMA memcpy vs an optimized
core memcpy can be pretty big when you add in the overhead of setting up the
MDMA registers, cache flushes, etc...  So only use dma_memcpy() when we
actually require it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/asm-blackfin/blackfin_local.h