linux/arch/blackfin
FUJITA Tomonori 4565f0170d dma-mapping: unify dma_get_cache_alignment implementations
dma_get_cache_alignment returns the minimum DMA alignment.  Architectures
defines it as ARCH_DMA_MINALIGN (formally ARCH_KMALLOC_MINALIGN).  So we
can unify dma_get_cache_alignment implementations.

Note that some architectures implement dma_get_cache_alignment wrongly.
dma_get_cache_alignment() should return the minimum DMA alignment.  So
fully-coherent architectures should return 1.  This patch also fixes this
issue.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-11 08:59:21 -07:00
..
boot Blackfin: add support for LZO compressed kernels 2010-08-06 12:55:53 -04:00
configs Blackfin: update defconfigs 2010-08-06 12:55:58 -04:00
include/asm dma-mapping: unify dma_get_cache_alignment implementations 2010-08-11 08:59:21 -07:00
kernel Blackfin: add support for dynamic ftrace 2010-08-06 12:55:54 -04:00
lib Blackfin: optimize strncpy a bit 2010-05-22 14:19:11 -04:00
mach-bf518 Blackfin: unify rotary encoder bitmasks 2010-08-06 12:55:56 -04:00
mach-bf527 Blackfin: unify rotary encoder bitmasks 2010-08-06 12:55:56 -04:00
mach-bf533 Blackfin: gpio/portmux: clean up whitespace corruption 2010-08-06 12:55:51 -04:00
mach-bf537 Blackfin: TWI: clean up the MMR names 2010-08-06 12:55:55 -04:00
mach-bf538 Blackfin: TWI: clean up the MMR names 2010-08-06 12:55:55 -04:00
mach-bf548 Blackfin: unify rotary encoder bitmasks 2010-08-06 12:55:56 -04:00
mach-bf561 Blackfin: gpio/portmux: clean up whitespace corruption 2010-08-06 12:55:51 -04:00
mach-common Blackfin: dpmc: punt unnecessary RTC_ISTAT clearing 2010-08-06 12:55:57 -04:00
mm Blackfin: use atomic kmalloc in L1 alloc so it too can be atomic 2010-05-22 14:19:12 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin 2010-08-09 21:01:11 -07:00
Kconfig.debug Blackfin: allow NMI watchdog to be used w/RETN as a scratch reg 2010-05-22 14:19:04 -04:00
Makefile Blackfin: add support for LZO compressed kernels 2010-08-06 12:55:53 -04:00